Module QCheck.Iter
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 tval return : 'a -> 'a tval (<*>) : ('a -> 'b) t -> 'a t -> 'b tval (>>=) : 'a t -> ('a -> 'b t) -> 'b tval map : ('a -> 'b) -> 'a t -> 'b tval map2 : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c tval (>|=) : 'a t -> ('a -> 'b) -> 'b tval append : 'a t -> 'a t -> 'a tval (<+>) : 'a t -> 'a t -> 'a tSynonym to
append.
val of_list : 'a list -> 'a tval of_array : 'a array -> 'a tval pair : 'a t -> 'b t -> ('a * 'b) tval triple : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) tval quad : 'a t -> 'b t -> 'c t -> 'd t -> ('a * 'b * 'c * 'd) tval find : ('a -> bool) -> 'a t -> 'a optionval filter : ('a -> bool) -> 'a t -> 'a tval append_l : 'a t list -> 'a t- since
- 0.8