aoc2020/bracket.mli

9 lines
294 B
OCaml
Raw Normal View History

2020-12-02 06:05:38 -05:00
val bracket: make:('a Lazy.t) -> act:('a -> 'b) -> free:('a -> unit) -> 'b
2020-12-02 04:31:32 -05:00
val infile: act:(in_channel -> 'b) -> string -> 'b
val infile_lines: line:(string -> 'a) -> of_seq:('a Seq.t -> 'b) -> string -> 'b
2020-12-02 06:05:38 -05:00
val infile_iter_lines:
line:(string -> 'a) -> iter:('a -> unit) -> string -> unit