fix spelling
authorhuffman
Wed, 02 Nov 2005 23:59:49 +0100
changeset 18069 f2c8f68a45e6
parent 18068 e8c3d371594e
child 18070 b653e18f0a41
fix spelling
src/HOL/Tools/datatype_aux.ML
--- a/src/HOL/Tools/datatype_aux.ML	Wed Nov 02 16:37:39 2005 +0100
+++ b/src/HOL/Tools/datatype_aux.ML	Wed Nov 02 23:59:49 2005 +0100
@@ -238,7 +238,7 @@
          NONE => DtType (tname, map (dtyp_of_typ new_dts) Ts)
        | SOME vs => if map (try dest_TFree) Ts = map SOME vs then
              DtRec (find_index (curry op = tname o fst) new_dts)
-           else error ("Illegal occurence of recursive type " ^ tname));
+           else error ("Illegal occurrence of recursive type " ^ tname));
 
 fun typ_of_dtyp descr sorts (DtTFree a) = TFree (a, (the o AList.lookup (op =) sorts) a)
   | typ_of_dtyp descr sorts (DtRec i) =