blob: 3a30e61d6d971e7a64629d8fa3150cd1709a5eda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Pierre Chambart, OCamlPro *)
(* Mark Shinwell and Leo White, Jane Street Europe *)
(* *)
(* Copyright 2013--2016 OCamlPro SAS *)
(* Copyright 2014--2016 Jane Street Group LLC *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
val register : pass_name:string -> unit
val with_dump
: ppf_dump:Format.formatter
-> pass_name:string
-> f:(unit -> 'b option)
-> input:'a
-> print_input:(Format.formatter -> 'a -> unit)
-> print_output:(Format.formatter -> 'b -> unit)
-> 'b option
|