BatStream

`sig
type 'a enumerable = 'a Stream.t
type 'a mappable = 'a Stream.t
val enum : 'a Stream.t -> 'a BatEnum.t
val of_enum : 'a BatEnum.t -> 'a Stream.t
val of_input : BatIO.input -> char Stream.t
val to_list : 'a Stream.t -> 'a list
val to_string : char Stream.t -> string
val to_string_fmt :
('a -> string, unit, string) Pervasives.format -> 'a Stream.t -> string
val to_string_fun : ('a -> string) -> 'a Stream.t -> string
val on_output : 'a BatIO.output -> char Stream.t -> unit
val of_fun : (unit -> 'a) -> 'a Stream.t
val foldl : ('a -> 'b -> 'a * bool option) -> 'a -> 'b Stream.t -> 'a
val foldr : ('a -> 'b lazy_t -> 'b) -> 'b -> 'a Stream.t -> 'b
val fold : ('a -> 'a -> 'a * bool option) -> 'a Stream.t -> 'a
val filter : ('a -> bool) -> 'a Stream.t -> 'a Stream.t
val map : ('a -> 'b) -> 'a Stream.t -> 'b Stream.t
val map2 : ('a -> 'b -> 'c) -> 'a Stream.t -> 'b Stream.t -> 'c Stream.t
val scanl : ('a -> 'b -> 'a) -> 'a -> 'b Stream.t -> 'a Stream.t
val scan : ('a -> 'a -> 'a) -> 'a Stream.t -> 'a Stream.t
val concat : 'a Stream.t Stream.t -> 'a Stream.t
val take : int -> 'a Stream.t -> 'a Stream.t
val drop : int -> 'a Stream.t -> 'a Stream.t
val take_while : ('a -> bool) -> 'a Stream.t -> 'a Stream.t
val drop_while : ('a -> bool) -> 'a Stream.t -> 'a Stream.t
val dup : 'a Stream.t -> 'a Stream.t * 'a Stream.t
val comb : 'a Stream.t * 'b Stream.t -> ('a * 'b) Stream.t
val split : ('a * 'b) Stream.t -> 'a Stream.t * 'b Stream.t
val merge :
(bool -> 'a -> bool) -> 'a Stream.t * 'a Stream.t -> 'a Stream.t
val switch : ('a -> bool) -> 'a Stream.t -> 'a Stream.t * 'a Stream.t
val cons : 'a -> 'a Stream.t -> 'a Stream.t
val apnd : 'a Stream.t -> 'a Stream.t -> 'a Stream.t
val is_empty : 'a Stream.t -> bool
val next : 'a Stream.t -> 'a
module StreamLabels :
sig
val iter : f:('a -> unit) -> 'a Stream.t -> unit
val to_string_fmt :
fmt:('a -> string, unit, string) Pervasives.format ->
'a Stream.t -> string
val to_string_fun : fn:('a -> string) -> 'a Stream.t -> string
val foldl :
f:('a -> 'b -> 'a * bool option) -> init:'a -> 'b Stream.t -> 'a
val foldr : f:('a -> 'b lazy_t -> 'b) -> init:'b -> 'a Stream.t -> 'b
val fold : f:('a -> 'a -> 'a * bool option) -> init:'a Stream.t -> 'a
val filter : f:('a -> bool) -> 'a Stream.t -> 'a Stream.t
val map : f:('a -> 'b) -> 'a Stream.t -> 'b Stream.t
val map2 :
f:('a -> 'b -> 'c) -> 'a Stream.t -> 'b Stream.t -> 'c Stream.t
val scanl : f:('a -> 'b -> 'a) -> 'a -> 'b Stream.t -> 'a Stream.t
val scan : f:('a -> 'a -> 'a) -> 'a Stream.t -> 'a Stream.t
val take_while : f:('a -> bool) -> 'a Stream.t -> 'a Stream.t
val drop_while : f:('a -> bool) -> 'a Stream.t -> 'a Stream.t
val merge :
f:(bool -> 'a -> bool) -> 'a Stream.t * 'a Stream.t -> 'a Stream.t
val switch : f:('a -> bool) -> 'a Stream.t -> 'a Stream.t * 'a Stream.t
end
end`