Move modules into dedicated files
[dups.git] / lib / stream.mli
CommitLineData
ddcbda00
SK
1type 'a t
2
3val create : (unit -> 'a option) -> 'a t
4
5val of_queue : 'a Queue.t -> 'a t
6
7val iter : 'a t -> f:('a -> unit) -> unit
8
9val bag_map : 'a t -> njobs:int -> f:('a -> 'b) -> ('a * 'b) t
10(** Parallel map with arbitrarily-reordered elements. *)
11
12val map : 'a t -> f:('a -> 'b) -> 'b t
13
14val filter : 'a t -> f:('a -> bool) -> 'a t
15
16val concat : ('a t) list -> 'a t
17
18val group_by : 'a t -> f:('a -> 'b) -> ('b * int * 'a list) t
This page took 0.020862 seconds and 4 git commands to generate.