sig   exception Empty_list   type 'a t   val empty : unit -> 'BatRefList.t   val is_empty : 'BatRefList.t -> bool   val clear : 'BatRefList.t -> unit   val length : 'BatRefList.t -> int   val copy : dst:'BatRefList.t -> src:'BatRefList.t -> unit   val copy_list : dst:'BatRefList.t -> src:'a list -> unit   val copy_enum : dst:'BatRefList.t -> src:'BatEnum.t -> unit   val of_list : 'a list -> 'BatRefList.t   val to_list : 'BatRefList.t -> 'a list   val of_enum : 'BatEnum.t -> 'BatRefList.t   val enum : 'BatRefList.t -> 'BatEnum.t   val of_backwards : 'BatEnum.t -> 'BatRefList.t   val backwards : 'BatRefList.t -> 'BatEnum.t   val add : 'BatRefList.t -> '-> unit   val push : 'BatRefList.t -> '-> unit   val add_sort : cmp:('-> '-> int) -> 'BatRefList.t -> '-> unit   val first : 'BatRefList.t -> 'a   val last : 'BatRefList.t -> 'a   val pop : 'BatRefList.t -> 'a   val npop : 'BatRefList.t -> int -> 'a list   val hd : 'BatRefList.t -> 'a   val tl : 'BatRefList.t -> 'BatRefList.t   val rev : 'BatRefList.t -> unit   val fold_left : ('-> '-> 'a) -> '-> 'BatRefList.t -> 'a   val fold_right : ('-> '-> 'b) -> 'BatRefList.t -> '-> 'b   val iter : ('-> unit) -> 'BatRefList.t -> unit   val find : ('-> bool) -> 'BatRefList.t -> 'a   val rfind : ('-> bool) -> 'BatRefList.t -> 'a   val find_exc : ('-> bool) -> exn -> 'BatRefList.t -> 'a   val exists : ('-> bool) -> 'BatRefList.t -> bool   val for_all : ('-> bool) -> 'BatRefList.t -> bool   val map : ('-> 'b) -> 'BatRefList.t -> 'BatRefList.t   val transform : ('-> 'a) -> 'BatRefList.t -> unit   val map_list : ('-> 'b) -> 'BatRefList.t -> 'b list   val sort : cmp:('-> '-> int) -> 'BatRefList.t -> unit   val filter : ('-> bool) -> 'BatRefList.t -> unit   val remove : 'BatRefList.t -> '-> unit   val remove_if : ('-> bool) -> 'BatRefList.t -> unit   val remove_all : 'BatRefList.t -> '-> unit   module Index :     sig       val index_of : 'BatRefList.t -> '-> int       val index : ('-> bool) -> 'BatRefList.t -> int       val at_index : 'BatRefList.t -> int -> 'a       val set : 'BatRefList.t -> int -> '-> unit       val remove_at : 'BatRefList.t -> int -> unit     end end