Structure mungeTools


Source File Identifier index Theory binding index

signature mungeTools =
sig

  datatype command = Theorem | Term | Type
  type optionset
  type posn = int * int (* linenum, charnum *)
  type override_map = (string,(string * int))Binarymap.dict

  val parseOpts : posn -> string -> optionset
  val usage : unit -> 'a
  val user_overrides : override_map ref
  val read_overrides : string -> override_map
  val optset_width : optionset -> int option
  val optset_mathmode: optionset -> string option
  val optset_nomath : optionset -> bool
  val optset_unoverloads : optionset -> string list

  val numErrors : int ref

  val replacement : {commpos : posn, argpos : posn, command : command,
                     options : optionset, argument : string} ->
                    PP.pretty
end


Source File Identifier index Theory binding index

HOL 4, Kananaskis-14