BatSeq

`sig
type 'a t = unit -> 'a BatSeq.node
and 'a node = Nil | Cons of 'a * 'a BatSeq.t
type 'a mappable = 'a t
val enum : 'a BatSeq.t -> 'a BatEnum.t
val length : 'a BatSeq.t -> int
val hd : 'a BatSeq.t -> 'a
val tl : 'a BatSeq.t -> 'a BatSeq.t
val is_empty : 'a BatSeq.t -> bool
val first : 'a BatSeq.t -> 'a
val last : 'a BatSeq.t -> 'a
val at : 'a BatSeq.t -> int -> 'a
val append : 'a BatSeq.t -> 'a BatSeq.t -> 'a BatSeq.t
val concat : 'a BatSeq.t BatSeq.t -> 'a BatSeq.t
val flatten : 'a BatSeq.t BatSeq.t -> 'a BatSeq.t
val nil : 'a BatSeq.t
val cons : 'a -> 'a BatSeq.t -> 'a BatSeq.t
val make : int -> 'a -> 'a BatSeq.t
val init : int -> (int -> 'a) -> 'a BatSeq.t
val iter : ('a -> unit) -> 'a BatSeq.t -> unit
val map : ('a -> 'b) -> 'a BatSeq.t -> 'b BatSeq.t
val fold_left : ('a -> 'b -> 'a) -> 'a -> 'b BatSeq.t -> 'a
val fold_right : ('a -> 'b -> 'b) -> 'a BatSeq.t -> 'b -> 'b
val reduce : ('a -> 'a -> 'a) -> 'a BatSeq.t -> 'a
val max : 'a BatSeq.t -> 'a
val min : 'a BatSeq.t -> 'a
val for_all : ('a -> bool) -> 'a BatSeq.t -> bool
val exists : ('a -> bool) -> 'a BatSeq.t -> bool
val mem : 'a -> 'a BatSeq.t -> bool
val find : ('a -> bool) -> 'a BatSeq.t -> 'a option
val find_map : ('a -> 'b option) -> 'a BatSeq.t -> 'b option
val filter : ('a -> bool) -> 'a BatSeq.t -> 'a BatSeq.t
val filter_map : ('a -> 'b option) -> 'a BatSeq.t -> 'b BatSeq.t
val assoc : 'a -> ('a * 'b) BatSeq.t -> 'b option
val take : int -> 'a BatSeq.t -> 'a BatSeq.t
val drop : int -> 'a BatSeq.t -> 'a BatSeq.t
val take_while : ('a -> bool) -> 'a BatSeq.t -> 'a BatSeq.t
val drop_while : ('a -> bool) -> 'a BatSeq.t -> 'a BatSeq.t
val split : ('a * 'b) BatSeq.t -> 'a BatSeq.t * 'b BatSeq.t
val combine : 'a BatSeq.t -> 'b BatSeq.t -> ('a * 'b) BatSeq.t
val print :
?first:string ->
?last:string ->
?sep:string ->
('a BatInnerIO.output -> 'b -> unit) ->
'a BatInnerIO.output -> 'b BatSeq.t -> unit
val sprint :
?first:string ->
?last:string ->
?sep:string ->
('a BatInnerIO.output -> 'b -> unit) -> 'b BatSeq.t -> string
val t_printer : 'a BatValue_printer.t -> 'a BatSeq.t BatValue_printer.t
module Exceptionless :
sig
val hd : 'a BatSeq.t -> 'a option
val tl : 'a BatSeq.t -> 'a BatSeq.t option
val first : 'a BatSeq.t -> 'a option
val last : 'a BatSeq.t -> 'a option
val at : 'a BatSeq.t -> int -> 'a option
val reduce : ('a -> 'a -> 'a) -> 'a BatSeq.t -> 'a option
val max : 'a BatSeq.t -> 'a option
val min : 'a BatSeq.t -> 'a option
val combine : 'a BatSeq.t -> 'b BatSeq.t -> ('a * 'b) BatSeq.t option
end
end`