TFL/post.sml
changeset 6476 92d142e58a5b
parent 6457 837e645e14bd
child 6498 1ebbe18fe236
--- a/TFL/post.sml	Thu Apr 22 12:47:13 1999 +0200
+++ b/TFL/post.sml	Thu Apr 22 12:49:00 1999 +0200
@@ -84,9 +84,8 @@
  * Defining a function with an associated termination relation. 
  *---------------------------------------------------------------------------*)
 fun define_i thy fid R eqs = 
-  let val dummy = Theory.requires thy "WF_Rel" "recursive function definitions"
-      val {functional,pats} = Prim.mk_functional thy eqs
-  in (Prim.wfrec_definition0 thy fid R functional, pats)
+  let val {functional,pats} = Prim.mk_functional thy eqs
+  in (Prim.wfrec_definition0 thy (Sign.base_name fid) R functional, pats)
   end;
 
 (*lcp's version: takes strings; doesn't return "thm"