src/Pure/pure_thy.ML
changeset 28941 128459bd72d2
parent 28904 3ef9489eeef5
child 28965 1de908189869
child 28977 08990d02211f
--- a/src/Pure/pure_thy.ML	Mon Dec 01 16:02:57 2008 +0100
+++ b/src/Pure/pure_thy.ML	Mon Dec 01 19:41:16 2008 +0100
@@ -144,7 +144,7 @@
   (FactsData.map (apsnd (fold (cons o lazy_proof) thms)) thy, thms);
 
 fun enter_thms pre_name post_name app_att (b, thms) thy =
-  if Name.is_nothing b
+  if Binding.is_nothing b
   then swap (enter_proofs (app_att (thy, thms)))
   else let
     val naming = Sign.naming_of thy;
@@ -198,7 +198,7 @@
 
 fun gen_note_thmss tag = fold_map (fn ((b, more_atts), ths_atts) => fn thy =>
   let
-    val pos = Name.pos_of b;
+    val pos = Binding.pos_of b;
     val name = Sign.full_binding thy b;
     val _ = Position.report (Markup.fact_decl name) pos;