Modifier and Type | Method and Description |
---|---|
static <T extends OCamlValue> |
OCamlList.create(java.util.List<T> v) |
static <T extends OCamlValue> |
OCamlList.create(T hd,
OCamlList<T> tl)
Constructs a new
'a list value. |
static <T extends OCamlValue> |
OCamlList.create(Wrapper<T> w)
Constructs a new
'a list value. |
static <T extends OCamlValue> |
OCamlList.create(Wrapper<T> w,
java.util.List<T> v)
Constructs a new
'a list value, and wraps it. |
OCamlList<T> |
OCamlList.tail()
Returns the tail of the list.
|
static <T extends OCamlValue> |
OCamlList.wrap(Wrapper<T> w,
org.ocamljava.runtime.values.Value v)
Wraps the passed value.
|
Modifier and Type | Method and Description |
---|---|
Wrapper<? extends OCamlList<T>> |
OCamlList.getWrapper()
Returns the wrapper used to wrap
Value elements into
instances of the current class. |
static <T extends OCamlValue> |
OCamlList.wrapper(Wrapper<T> w)
Returns a wrapper for
OCamlList values. |
Modifier and Type | Method and Description |
---|---|
static <T extends OCamlValue> |
OCamlList.create(T hd,
OCamlList<T> tl)
Constructs a new
'a list value. |