package pyml

  1. Overview
  2. Docs
val try_finally : ('a -> 'b) -> 'a -> ('c -> unit) -> 'c -> 'b
val read_and_close : in_channel -> ('a -> 'b) -> 'a -> 'b
val write_and_close : out_channel -> ('a -> 'b) -> 'a -> 'b
val with_temp_file : string -> (string -> in_channel -> 'a) -> 'a
val with_pipe : (in_channel -> out_channel -> 'a) -> 'a
val with_stdin_from : in_channel -> ('a -> 'b) -> 'a -> 'b
val with_stdin_from_string : string -> ('a -> 'b) -> 'a -> 'b
OCaml

Innovation. Community. Security.