src/Pure/Isar/outer_keyword.ML
changeset 17270 534b6e5e3736
parent 17059 a001a3ebfcfd
child 27357 5b3a087ff292
equal deleted inserted replaced
17269:c5a52602c4a7 17270:534b6e5e3736
    81   prf_chain, prf_decl, prf_asm, prf_asm_goal, prf_script] |> map kind_of;
    81   prf_chain, prf_decl, prf_asm, prf_asm_goal, prf_script] |> map kind_of;
    82 
    82 
    83 
    83 
    84 (* tags *)
    84 (* tags *)
    85 
    85 
    86 fun update_tags t ts = t :: remove (op =) t ts;
    86 fun update_tags t ts = t :: remove (op = : string * string -> bool) t ts;
    87 
    87 
    88 fun tag t (Keyword (s, ts)) = Keyword (s, update_tags t ts);
    88 fun tag t (Keyword (s, ts)) = Keyword (s, update_tags t ts);
    89 fun tags_of (Keyword (_, ts)) = ts;
    89 fun tags_of (Keyword (_, ts)) = ts;
    90 
    90 
    91 val tag_theory = tag "theory";
    91 val tag_theory = tag "theory";