我只是对Lazy中的这两个函数感到好奇。Lazy.from_funval from_fun : (unit -> 'a) -> 'a t
from_fun f is the same as lazy (f()) but slightly或者Lazy.from_fun和lazy (f())的区别是什么?This is for special purposes only and should not be confused with lazy</em
Lazy.lazy_from_val的文档指出,此函数适用于特殊情况: lazy_from_val v returns an already-forcedsuspension of v This is for special purposes only and should not be confused with lazy (v).如果我根据以下值创建了一对挂起的计算:
let l1 = lazy</em