diff options
| author | Gabriel Kerneis | 2014-05-15 14:10:24 +0100 |
|---|---|---|
| committer | Gabriel Kerneis | 2014-05-15 14:10:24 +0100 |
| commit | 952038a6be7a267fb8440d055e2f2ff299f782e4 (patch) | |
| tree | bb8205c56a23f1b306ba96aabf1bcd26c73a307e /src/pretty_print.mli | |
| parent | 98a61ad83f968d856d4f86ca32fcca8010a44f6f (diff) | |
Pretty-print to stdout rather than Format.stdout_formatter
PPrint.ToFormatter is either broken, or I do not know how to use
it properly. Switching to ToChannel solves the issue nicely.
Diffstat (limited to 'src/pretty_print.mli')
| -rw-r--r-- | src/pretty_print.mli | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pretty_print.mli b/src/pretty_print.mli index bf32a805..49c4af27 100644 --- a/src/pretty_print.mli +++ b/src/pretty_print.mli @@ -1,10 +1,9 @@ open Ast open Type_internal -open Format (* Prints on formatter the defs following source syntax *) -val pp_defs : Format.formatter -> tannot defs -> unit -val pp_exp : Format.formatter -> exp -> unit +val pp_defs : out_channel -> tannot defs -> unit +val pp_exp : out_channel -> exp -> unit (* Prints on formatter the defs as Lem Ast nodes *) val pp_lem_defs : Format.formatter -> tannot defs -> unit |
