Mavryk_raw_protocol_alpha.Script_list
val of_list : 'a list -> 'a t
Convert an OCaml list into Michelson list.
val to_list : 'a t -> 'a list
Convert a Michelson list to an OCaml list.
val length : 'a t -> int
length l
returns the number of elements in l
as int
.
val empty : 'a t
Empty list.
uncons l
returns Some (hd, tl)
where hd :: tl = l
if l
is not empty or None
otherwise.