src/Pure/Isar/isar_thy.ML
changeset 6354 a4c75cbd2fbf
parent 6331 fb7b8d6c2bd1
child 6371 8469852acbc0
equal deleted inserted replaced
6353:5a76eb9030df 6354:a4c75cbd2fbf
    11 *)
    11 *)
    12 
    12 
    13 signature ISAR_THY =
    13 signature ISAR_THY =
    14 sig
    14 sig
    15   val add_text: string -> theory -> theory
    15   val add_text: string -> theory -> theory
       
    16   val add_title: string -> string -> string -> theory -> theory
    16   val add_chapter: string -> theory -> theory
    17   val add_chapter: string -> theory -> theory
    17   val add_section: string -> theory -> theory
    18   val add_section: string -> theory -> theory
    18   val add_subsection: string -> theory -> theory
    19   val add_subsection: string -> theory -> theory
    19   val add_subsubsection: string -> theory -> theory
    20   val add_subsubsection: string -> theory -> theory
    20   val add_axioms: ((bstring * string) * Args.src list) list -> theory -> theory
    21   val add_axioms: ((bstring * string) * Args.src list) list -> theory -> theory
    72 (** derived theory and proof operations **)
    73 (** derived theory and proof operations **)
    73 
    74 
    74 (* formal comments *)	(* FIXME dummy *)
    75 (* formal comments *)	(* FIXME dummy *)
    75 
    76 
    76 fun add_text (txt:string) (thy:theory) = thy;
    77 fun add_text (txt:string) (thy:theory) = thy;
       
    78 fun add_title title author date thy = thy;
    77 val add_chapter = add_text;
    79 val add_chapter = add_text;
    78 val add_section = add_text;
    80 val add_section = add_text;
    79 val add_subsection = add_text;
    81 val add_subsection = add_text;
    80 val add_subsubsection = add_text;
    82 val add_subsubsection = add_text;
    81 
    83