package sail

  1. Overview
  2. Docs
module StringSet : sig ... end
val opt_prefix : string Stdlib.ref
val opt_directory : string Stdlib.ref
val opt_simple_val : bool Stdlib.ref
type latex_state = {
  1. mutable noindent : bool;
  2. mutable this : Ast.id option;
  3. mutable norefs : StringSet.t;
  4. mutable generated_names : string Ast_util.Bindings.t;
  5. mutable commands : StringSet.t;
}
val reset_state : latex_state -> unit
val state : latex_state
val unique_postfix : int -> string
type id_category =
  1. | Function
  2. | Val
  3. | Overload of int
  4. | FunclCtor of Ast.id * int
  5. | FunclNum of int
  6. | FunclApp of string
  7. | Type
val number_replacements : (string * string) list
val other_replacements : (string * string) list
val char_replace : string -> (string * string) list -> string
val replace_numbers : string -> string
val replace_others : string -> string
val category_name : id_category -> string
val category_name_val : id_category -> string
val category_name_simple : id_category -> string
val latex_id : Ast_util.Bindings.key -> string
val refcode_string : string -> string
val refcode_id : Ast.id -> string
val inline_code : string -> string
val text_code : string -> string
val replace_this : string -> string
val latex_of_markdown : string -> string
val docstring : Parse_ast.l -> PPrint.document
val skip_lines : Stdlib.in_channel -> int -> unit
val read_lines : Stdlib.in_channel -> int -> string list
val latex_loc : PPrint.document -> Ast.l -> PPrint.document
val doc_spec_simple : 'a Ast.val_spec -> PPrint.document
val latex_command : id_category -> Ast_util.Bindings.key -> PPrint.ToBuffer.document -> (Ast.l * 'a) -> PPrint.document
val latex_label : string -> Ast.id -> PPrint.document
val counter : int Stdlib.ref
val app_code : 'a Ast.exp -> string
val latex_funcls : 'a -> 'b Ast.funcl list -> PPrint.document
val process_pragma : Parse_ast.l -> string -> PPrint.document option
val tdef_id : Ast.type_def_aux -> Ast.id
val defs : 'a Ast.defs -> PPrint.document
OCaml

Innovation. Community. Security.