Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a Stream.t
val next : 'a t -> 'a option
val next_exn : 'a t -> 'a
val peek : 'a t -> 'a option
val npeek : 'a t -> int -> 'a list
val junk : 'a t -> unit
val count : 'a t -> int
val is_empty : 'a t -> bool
val from : (int -> 'a option) -> 'a t
val of_channel : Core.Std.in_channel -> char t
val strings_of_channel : ?buffer_size:int -> Core.Std.in_channel -> string t
val range : ?until:int -> int -> int t
val empty : unit -> 'a t
val init : int -> f:(int -> 'a) -> 'a t
val singleton : 'a -> 'a t
val unfold : 'a -> f:('a -> ('b * 'a) option) -> 'b t
val unfoldi : 'a -> f:(int -> 'a -> ('b * 'a) option) -> 'b t
val iter : 'a t -> f:('a -> unit) -> unit
val fold : 'a t -> init:'b -> f:('b -> 'a -> 'b) -> 'b
val iteri : 'a t -> f:(int -> 'a -> unit) -> unit
val foldi : 'a t -> init:'b -> f:(int -> 'b -> 'a -> 'b) -> 'b
val reduce : 'a t -> f:('a -> 'a -> 'a) -> 'a
val sum : int t -> int
val fsum : float t -> float
val exists : 'a t -> f:('a -> bool) -> bool
val for_all : 'a t -> f:('a -> bool) -> bool
val find : 'a t -> f:('a -> bool) -> 'a option
val find_exn : 'a t -> f:('a -> bool) -> 'a
val find_map : 'a t -> f:('a -> 'b option) -> 'b option
val drop : 'a t -> n:int -> unit
val drop_while : 'a t -> f:('a -> bool) -> unit
val drop_whilei : 'a t -> f:(int -> 'a -> bool) -> unit
val of_list : 'a list -> 'a t
val to_list : 'a t -> 'a list
val of_array : 'a array -> 'a t
val to_array : 'a t -> 'a array
val of_hashtbl : ('a, 'b) Core.Std.Hashtbl.t -> ('a * 'b) t
val to_hashtbl : ('a * 'b) t -> ('a, 'b) Core.Std.Hashtbl.t
val of_map : ('a, 'b, 'c) Core.Std.Map.t -> ('a * 'b) t
val to_map : ('a * 'b) t -> ('a, 'b) Core.Std.Map.Poly.t
val of_set : ('a, 'b) Core.Std.Set.t -> 'a t
val to_set : 'a t -> 'a Core.Std.Set.Poly.t
val of_string : string -> char t
module Infix : sig ... end