sig
type +'a t
val empty : 'a CCRAL.t
val is_empty : 'a CCRAL.t -> bool
val cons : 'a -> 'a CCRAL.t -> 'a CCRAL.t
val return : 'a -> 'a CCRAL.t
val map : f:('a -> 'b) -> 'a CCRAL.t -> 'b CCRAL.t
val mapi : f:(int -> 'a -> 'b) -> 'a CCRAL.t -> 'b CCRAL.t
val hd : 'a CCRAL.t -> 'a
val tl : 'a CCRAL.t -> 'a CCRAL.t
val front : 'a CCRAL.t -> ('a * 'a CCRAL.t) option
val front_exn : 'a CCRAL.t -> 'a * 'a CCRAL.t
val length : 'a CCRAL.t -> int
val get : 'a CCRAL.t -> int -> 'a option
val get_exn : 'a CCRAL.t -> int -> 'a
val set : 'a CCRAL.t -> int -> 'a -> 'a CCRAL.t
val remove : 'a CCRAL.t -> int -> 'a CCRAL.t
val append : 'a CCRAL.t -> 'a CCRAL.t -> 'a CCRAL.t
val filter : f:('a -> bool) -> 'a CCRAL.t -> 'a CCRAL.t
val filter_map : f:('a -> 'b option) -> 'a CCRAL.t -> 'b CCRAL.t
val flat_map : ('a -> 'b CCRAL.t) -> 'a CCRAL.t -> 'b CCRAL.t
val flatten : 'a CCRAL.t CCRAL.t -> 'a CCRAL.t
val app : ('a -> 'b) CCRAL.t -> 'a CCRAL.t -> 'b CCRAL.t
val take : int -> 'a CCRAL.t -> 'a CCRAL.t
val take_while : f:('a -> bool) -> 'a CCRAL.t -> 'a CCRAL.t
val drop : int -> 'a CCRAL.t -> 'a CCRAL.t
val drop_while : f:('a -> bool) -> 'a CCRAL.t -> 'a CCRAL.t
val take_drop : int -> 'a CCRAL.t -> 'a CCRAL.t * 'a CCRAL.t
val iter : f:('a -> unit) -> 'a CCRAL.t -> unit
val iteri : f:(int -> 'a -> unit) -> 'a CCRAL.t -> unit
val fold : f:('b -> 'a -> 'b) -> x:'b -> 'a CCRAL.t -> 'b
val fold_rev : f:('b -> 'a -> 'b) -> x:'b -> 'a CCRAL.t -> 'b
val rev_map : f:('a -> 'b) -> 'a CCRAL.t -> 'b CCRAL.t
val rev : 'a CCRAL.t -> 'a CCRAL.t
val equal : ?eq:('a -> 'a -> bool) -> 'a CCRAL.t -> 'a CCRAL.t -> bool
val compare : ?cmp:('a -> 'a -> int) -> 'a CCRAL.t -> 'a CCRAL.t -> int
val make : int -> 'a -> 'a CCRAL.t
val repeat : int -> 'a CCRAL.t -> 'a CCRAL.t
val range : int -> int -> int CCRAL.t
type 'a sequence = ('a -> unit) -> unit
type 'a gen = unit -> 'a option
val add_list : 'a CCRAL.t -> 'a list -> 'a CCRAL.t
val of_list : 'a list -> 'a CCRAL.t
val to_list : 'a CCRAL.t -> 'a list
val of_list_map : f:('a -> 'b) -> 'a list -> 'b CCRAL.t
val of_array : 'a array -> 'a CCRAL.t
val add_array : 'a CCRAL.t -> 'a array -> 'a CCRAL.t
val to_array : 'a CCRAL.t -> 'a array
val add_seq : 'a CCRAL.t -> 'a CCRAL.sequence -> 'a CCRAL.t
val of_seq : 'a CCRAL.sequence -> 'a CCRAL.t
val to_seq : 'a CCRAL.t -> 'a CCRAL.sequence
val add_gen : 'a CCRAL.t -> 'a CCRAL.gen -> 'a CCRAL.t
val of_gen : 'a CCRAL.gen -> 'a CCRAL.t
val to_gen : 'a CCRAL.t -> 'a CCRAL.gen
module Infix :
sig
val ( @+ ) : 'a -> 'a CCRAL.t -> 'a CCRAL.t
val ( >>= ) : 'a CCRAL.t -> ('a -> 'b CCRAL.t) -> 'b CCRAL.t
val ( >|= ) : 'a CCRAL.t -> ('a -> 'b) -> 'b CCRAL.t
val ( <*> ) : ('a -> 'b) CCRAL.t -> 'a CCRAL.t -> 'b CCRAL.t
val ( -- ) : int -> int -> int CCRAL.t
val ( --^ ) : int -> int -> int CCRAL.t
end
val ( @+ ) : 'a -> 'a t -> 'a t
val ( >>= ) : 'a t -> ('a -> 'b t) -> 'b t
val ( >|= ) : 'a t -> ('a -> 'b) -> 'b t
val ( <*> ) : ('a -> 'b) t -> 'a t -> 'b t
val ( -- ) : int -> int -> int t
val ( --^ ) : int -> int -> int t
type 'a printer = Format.formatter -> 'a -> unit
val print : ?sep:string -> 'a CCRAL.printer -> 'a CCRAL.t CCRAL.printer
end