aoc2020/seq.mli

19 lines
535 B
OCaml
Raw Normal View History

2020-12-06 03:11:35 -05:00
include module type of Stdlib.Seq
2020-12-06 05:31:27 -05:00
val for_all: ('a -> bool) -> 'a t -> bool
val exists: ('a -> bool) -> 'a t -> bool
2020-12-06 03:11:35 -05:00
2020-12-06 05:31:27 -05:00
val span': ('a -> bool) -> 'a t -> ('a list * 'a t) option
val break': ('a -> bool) -> 'a t -> ('a list * 'a t) option
2020-12-06 03:11:35 -05:00
val span: ('a -> bool) -> 'a t -> 'a list * 'a t
val break: ('a -> bool) -> 'a t -> 'a list * 'a t
val drop_while: ('a -> bool) -> 'a t -> 'a t
2020-12-06 04:37:01 -05:00
val chunks: sep:('a -> bool) -> 'a t -> 'a list t
2020-12-06 03:11:35 -05:00
val line_chunks': string t -> string list t
2020-12-06 04:13:36 -05:00
val line_chunks: ?join:string -> string t -> string t