sig
  type 'a t = 'Lazy_list.t
  val ( >>= ) : 'a t -> ('-> 'b t) -> 'b t
  val ( >>| ) : 'a t -> ('-> 'b) -> 'b t
  module Monad_infix :
    sig
      val ( >>= ) : 'a t -> ('-> 'b t) -> 'b t
      val ( >>| ) : 'a t -> ('-> 'b) -> 'b t
    end
  val bind : 'a t -> ('-> 'b t) -> 'b t
  val return : '-> 'a t
  val join : 'a t t -> 'a t
  val ignore : 'a t -> unit t
  val all : 'a t list -> 'a list t
  val all_ignore : unit t list -> unit t
  val empty : unit -> 'a t
  val is_empty : 'a t -> bool
  val length : 'a t -> int
  val decons : 'a t -> ('a * 'a t) option
  val cons : '-> 'a t -> 'a t
  val snoc : 'a t -> '-> 'a t
  val append : 'a t -> 'a t -> 'a t
  val map : 'a t -> f:('-> 'b) -> 'b t
  val concat : 'a t t -> 'a t
  val nth : 'a t -> int -> 'a option
  val concat_list : 'a list t -> 'a t
  val find : f:('-> bool) -> 'a t -> 'a option
  val filter : f:('-> bool) -> 'a t -> 'a t
  val filter_opt : 'a option t -> 'a t
  val filter_map : f:('-> 'b option) -> 'a t -> 'b t
  val fold_left : f:('-> '-> 'a) -> init:'-> 'b t -> 'a
  val fold_right : f:('-> '-> 'b) -> 'a t -> init:'-> 'b
  val foldr : 'a t -> f:('-> 'Lazy_m.t -> 'b) -> init:'-> 'Lazy_m.t
  val iter : 'a t -> f:('-> unit) -> unit
  val of_iterator :
    curr:('-> 'b option) -> next:('-> 'a) -> init:'-> 'b t
  val build : f:('-> ('a * 's) option) -> seed:'-> 'a t
  val unfold : f:('-> 'a option) -> init:'-> 'a t
  val uniter : f:(unit -> 'a option) -> 'a t
  val of_list : 'a list -> 'a t
  val to_rev_list : 'a t -> 'a list
  val to_list : 'a t -> 'a list
  val of_array : 'a array -> 'a t
  val to_array : 'a t -> 'a array
  val cartesian_product : 'a t t -> 'a t t
  val merge : cmp:('-> '-> int) -> 'a t -> 'a t -> 'a t
  val unify :
    cmp:('-> '-> int) ->
    'a t -> 'b t -> [ `Both of 'a * '| `Left of '| `Right of 'b ] t
  val sort : cmp:('-> '-> int) -> 'a t -> 'a t
  val lazy_sort : cmp:('-> '-> int) -> 'a t -> 'a t
  module Of_container :
    sig
      module type T =
        sig
          type 'a t
          val lazy_fold :
            'a t -> f:('-> 'Lazy_m.t -> 'b) -> last:'-> 'b
        end
      module Make :
        functor (X : T-> sig val lazy_list_of_t : 'X.t -> 'a t end
    end
  module Iterator :
    sig
      type 'a lazy_list = 'a t
      type 'a t = 'Lazy_list.Iterator.t
      val create : 'a lazy_list -> 'a t
      val next : 'a t -> 'a option
      val iter : 'a t -> f:('-> unit) -> unit
    end
end