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