Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val hd : 'a llist -> 'a
val take : int -> 'a llist -> 'a list
val repeat : 'a -> 'a llist
val unfoldr : ('b -> ('a * 'b) option) -> 'b -> 'a llist
val continually : (unit -> 'a) -> 'a llist
val from : int -> int llist
val sllist : ?items:int -> string -> ('a -> string) -> 'a llist -> string
val of_string : string -> char llist
val of_function : (bytes -> int -> int) -> char llist
of_function f
: f buf len
is a filler, a function to fill buf
with at most len
chars. If it reaches the end of the input it returns 0
.
val to_list : 'a llist -> 'a list