Moved unify_consts to PrimrecPackage.
--- a/src/HOL/Nominal/nominal_primrec.ML Wed Jul 11 11:32:02 2007 +0200
+++ b/src/HOL/Nominal/nominal_primrec.ML Wed Jul 11 11:34:38 2007 +0200
@@ -388,7 +388,7 @@
val rec_ts = map (fn eq => head_of (fst (HOLogic.dest_eq
(HOLogic.dest_Trueprop (Logic.strip_imp_concl eq))))
handle TERM _ => primrec_eq_err thy "not a proper equation" eq) eqn_ts;
- val (_, eqn_ts') = OldInductivePackage.unify_consts thy rec_ts eqn_ts
+ val (_, eqn_ts') = PrimrecPackage.unify_consts thy rec_ts eqn_ts
in
gen_primrec_i note def alt_name
(Option.map (map (readt dummyT)) invs)