X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fpretty.mli;fp=src%2Fpretty.mli;h=9064f8abc0f5c2082a60d0e4989d8ce801f77626;hp=0000000000000000000000000000000000000000;hb=b00bff88c7902e828804c06b7f9dc55222fdc84e;hpb=03b6a364e7240ca827585e7baff225a0aaa33bc6 diff --git a/src/pretty.mli b/src/pretty.mli new file mode 100644 index 0000000..9064f8a --- /dev/null +++ b/src/pretty.mli @@ -0,0 +1,57 @@ +(***********************************************************************) +(* *) +(* TAToo *) +(* *) +(* Kim Nguyen, LRI UMR8623 *) +(* Université Paris-Sud & CNRS *) +(* *) +(* Copyright 2010-2012 Université Paris-Sud and Centre National de la *) +(* Recherche Scientifique. All rights reserved. This file is *) +(* distributed under the terms of the GNU Lesser General Public *) +(* License, with the special exception on linking described in file *) +(* ../LICENSE. *) +(* *) +(***********************************************************************) + +(* + Time-stamp: +*) + +exception InvalidUtf8Codepoint of int + +val subscript : int -> string +val superscript : int -> string +val down_arrow : string +val up_arrow : string +val right_arrow : string +val left_arrow : string +val epsilon : string +val big_sigma : string +val cap : string +val cup : string +val lnot : string +val wedge : string +val vee : string +val top : string +val bottom : string +val dummy : string +val inverse : string +val double_right_arrow : string +val overline : string -> string +val underline : string -> string +val strike : string -> string +val padding : int -> string +val line : int -> string +val length : string -> int +val pp_overline : Format.formatter -> string -> unit +val pp_underline : Format.formatter -> string -> unit +val pp_strike : Format.formatter -> string -> unit +val pp_subscript : Format.formatter -> int -> unit +val pp_superscript : Format.formatter -> int -> unit + +val pp_print_list : + ?sep:(Format.formatter -> unit -> unit) -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit +val pp_print_array : + ?sep:(Format.formatter -> unit -> unit) -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a array -> unit +val print_list : ?sep:string -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit +val print_array : ?sep:string -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a array -> unit