Module CCLazy_list
Lazy List
- since
 - 0.17
 
val empty : 'a tEmpty list.
val return : 'a -> 'a tReturn a computed value.
val is_empty : _ t -> boolEvaluate the head.
val length : _ t -> intlength lreturns the number of elements inl, eagerly (linear time). Caution, will not terminate iflis infinite.
val cons : 'a -> 'a t -> 'a tval head : 'a t -> ('a * 'a t) optionEvaluate head, return it, or
Noneif the list is empty.
module Infix : sig ... end