src/Tools/nbe.ML
changeset 31156 90fed3d4430f
parent 31064 ce37d8f48a9f
child 31724 9b5a128cdb5c
--- a/src/Tools/nbe.ML	Thu May 14 15:09:47 2009 +0200
+++ b/src/Tools/nbe.ML	Thu May 14 15:09:48 2009 +0200
@@ -436,7 +436,7 @@
   let
     fun subst_const f = map_aterms (fn t as Term.Const (c, ty) => Term.Const (f c, ty)
       | t => t);
-    val resubst_triv_consts = subst_const (Code_Unit.resubst_alias thy);
+    val resubst_triv_consts = subst_const (Code.resubst_alias thy);
     val ty' = typ_of_itype program vs0 ty;
     fun type_infer t =
       singleton (TypeInfer.infer_types (Syntax.pp_global thy) (Sign.tsig_of thy) I
@@ -459,7 +459,7 @@
 (* evaluation oracle *)
 
 fun add_triv_classes thy = curry (Sorts.inter_sort (Sign.classes_of thy))
-  (Code_Unit.triv_classes thy);
+  (Code.triv_classes thy);
 
 fun mk_equals thy lhs raw_rhs =
   let