Structure holindexData


Source File Identifier index Theory binding index

signature holindexData =
sig

   type data_entry =
   {label         : string option,
    in_index      : bool,
    printed       : bool,
    full_index    : bool option,
    comment       : string option,
    pos_opt       : int option,
    options       : string,
    content       : string option,
    latex         : string option,
    pages         : string Redblackset.set}

   type data_entry_transform = data_entry -> data_entry

   type data_store_ty =
        (string, data_entry) Redblackmap.dict *
        (string, data_entry) Redblackmap.dict *
        (string, data_entry) Redblackmap.dict

   val default_data_entry : data_entry
   val new_data_store     : data_store_ty;
   val new_data_substore  : (string, data_entry) Redblackmap.dict

   val data_entry___update_in_index   : bool          -> data_entry_transform
   val data_entry___update_printed    : bool          -> data_entry_transform
   val data_entry___update_full_index : bool          -> data_entry_transform
   val data_entry___update_label      : string option -> data_entry_transform
   val data_entry___update_options    : string        -> data_entry_transform
   val data_entry___update_content    : string option -> data_entry_transform
   val data_entry___update_latex      : string option -> data_entry_transform
   val data_entry___update_comment    : string option -> data_entry_transform
   val data_entry___add_page          : string        -> data_entry_transform
   val data_entry_is_used : data_entry -> bool

   val update_data_store :
        (bool * (string -> unit)) ->
        data_store_ty -> string -> string ->
        (data_entry -> data_entry) ->
        data_store_ty

   type parse_entry =
   {id          : (string * string),
    label       : string option,
    force_index : bool,
    full_index  : bool option,
    comment     : string option,
    latex       : string option,
    options     : string option,
    content     : string option}

   val destruct_theory_thm       : string -> (string * string)
   val mk_parse_entry            : (string * string) -> parse_entry
   val mk_update_parse_entry     : (string * string) ->
                                   (parse_entry -> parse_entry) -> parse_entry
   val mk_theorem_parse_entries  : string list ->
                                   (parse_entry -> parse_entry) ->
                                   parse_entry list
   val parse_entry___set_label   : string -> parse_entry -> parse_entry
   val parse_entry___set_options : string -> parse_entry -> parse_entry
   val parse_entry___set_content : string -> parse_entry -> parse_entry
   val parse_entry___set_latex   : string -> parse_entry -> parse_entry
   val parse_entry___set_comment : string -> parse_entry -> parse_entry
   val parse_entry___force_index : parse_entry -> parse_entry
   val parse_entry___full_index  : bool -> parse_entry -> parse_entry

   val parse_entry___add_to_data_store :
      data_store_ty -> parse_entry -> data_store_ty
end


Source File Identifier index Theory binding index

HOL 4, Kananaskis-14