= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Iterators
Compatible with the library "sequence". An iterator i
is simply a function that accepts another function f
(of type 'a -> unit
) and calls f
on a sequence of elements f x1; f x2; ...; f xn
.
val empty : 'a t
val return : 'a -> 'a t
val of_list : 'a list -> 'a t
val of_array : 'a array -> 'a t
val find : ('a -> bool) -> 'a t -> 'a option