Modifier and Type | Method and Description |
---|---|
static <T extends OCamlValue> |
OCamlLazy.create(T v)
Constructs a new
'a lazy_t value, and wraps it. |
static <T extends OCamlValue> |
OCamlLazy.create(Wrapper<T> w,
OCamlFunction<OCamlUnit,T> c)
Constructs a new
'a lazy_t value, and wraps it. |
static <T extends OCamlValue> |
OCamlLazy.wrap(Wrapper<T> w,
org.ocamljava.runtime.values.Value v)
Wraps the passed value.
|
Modifier and Type | Method and Description |
---|---|
Wrapper<? extends OCamlLazy<T>> |
OCamlLazy.getWrapper()
Returns the wrapper used to wrap
Value elements into
instances of the current class. |
static <T extends OCamlValue> |
OCamlLazy.wrapper(Wrapper<T> w)
Returns a wrapper for
OCamlLazy values. |