This commit is contained in:
Rhiannon Morris 2020-12-02 12:05:38 +01:00
parent 512ae7d3d7
commit 816b2851c4
5 changed files with 1052 additions and 9 deletions

View file

@ -1,5 +1,8 @@
val bracket: make:(unit -> 'a) -> act:('a -> 'b) -> free:('a -> unit) -> 'b
val bracket: make:('a Lazy.t) -> act:('a -> 'b) -> free:('a -> unit) -> 'b
val infile: act:(in_channel -> 'b) -> string -> 'b
val infile_lines: line:(string -> 'a) -> of_seq:('a Seq.t -> 'b) -> string -> 'b
val infile_iter_lines:
line:(string -> 'a) -> iter:('a -> unit) -> string -> unit