src/Pure/Proof/extraction.ML
changeset 56436 30ccec1e82fb
parent 56239 17df7145a871
child 58436 fe9de4089345
--- a/src/Pure/Proof/extraction.ML	Sun Apr 06 15:38:54 2014 +0200
+++ b/src/Pure/Proof/extraction.ML	Sun Apr 06 15:43:45 2014 +0200
@@ -36,12 +36,14 @@
 
 val add_syntax =
   Sign.root_path
-  #> Sign.add_types_global [(Binding.name "Type", 0, NoSyn), (Binding.name "Null", 0, NoSyn)]
+  #> Sign.add_types_global
+    [(Binding.make ("Type", @{here}), 0, NoSyn),
+     (Binding.make ("Null", @{here}), 0, NoSyn)]
   #> Sign.add_consts
-      [(Binding.name "typeof", typ "'b => Type", NoSyn),
-       (Binding.name "Type", typ "'a itself => Type", NoSyn),
-       (Binding.name "Null", typ "Null", NoSyn),
-       (Binding.name "realizes", typ "'a => 'b => 'b", NoSyn)];
+    [(Binding.make ("typeof", @{here}), typ "'b => Type", NoSyn),
+     (Binding.make ("Type", @{here}), typ "'a itself => Type", NoSyn),
+     (Binding.make ("Null", @{here}), typ "Null", NoSyn),
+     (Binding.make ("realizes", @{here}), typ "'a => 'b => 'b", NoSyn)];
 
 val nullT = Type ("Null", []);
 val nullt = Const ("Null", nullT);