doc-src/IsarImplementation/Thy/logic.thy
changeset 24972 acafb18a47dc
parent 24828 137c242e7277
child 26872 336dfd860744
     1.1 --- a/doc-src/IsarImplementation/Thy/logic.thy	Thu Oct 11 16:05:56 2007 +0200
     1.2 +++ b/doc-src/IsarImplementation/Thy/logic.thy	Thu Oct 11 16:38:42 2007 +0200
     1.3 @@ -326,8 +326,10 @@
     1.4    @{index_ML fastype_of: "term -> typ"} \\
     1.5    @{index_ML lambda: "term -> term -> term"} \\
     1.6    @{index_ML betapply: "term * term -> term"} \\
     1.7 -  @{index_ML Sign.add_consts_i: "(string * typ * mixfix) list -> theory -> theory"} \\
     1.8 -  @{index_ML Sign.add_abbrev: "string -> Markup.property list -> bstring * term -> theory -> (term * term) * theory"} \\
     1.9 +  @{index_ML Sign.declare_const: "Markup.property list -> bstring * typ * mixfix ->
    1.10 +  theory -> term * theory"} \\
    1.11 +  @{index_ML Sign.add_abbrev: "string -> Markup.property list -> bstring * term ->
    1.12 +  theory -> (term * term) * theory"} \\
    1.13    @{index_ML Sign.const_typargs: "theory -> string * typ -> typ list"} \\
    1.14    @{index_ML Sign.const_instance: "theory -> string * typ list -> typ"} \\
    1.15    \end{mldecls}
    1.16 @@ -372,8 +374,9 @@
    1.17    "t u"}, with topmost @{text "\<beta>"}-conversion if @{text "t"} is an
    1.18    abstraction.
    1.19  
    1.20 -  \item @{ML Sign.add_consts_i}~@{text "[(c, \<sigma>, mx), \<dots>]"} declares a
    1.21 -  new constant @{text "c :: \<sigma>"} with optional mixfix syntax.
    1.22 +  \item @{ML Sign.declare_const}~@{text "properties (c, \<sigma>, mx)"}
    1.23 +  declares a new constant @{text "c :: \<sigma>"} with optional mixfix
    1.24 +  syntax.
    1.25  
    1.26    \item @{ML Sign.add_abbrev}~@{text "print_mode properties (c, t)"}
    1.27    introduces a new term abbreviation @{text "c \<equiv> t"}.