src/Pure/Isar/generic_target.ML
changeset 57115 ae61587eb44a
parent 57110 95e5a633a18f
child 57118 4760ac85b3f0
--- a/src/Pure/Isar/generic_target.ML	Thu May 29 15:27:49 2014 +0100
+++ b/src/Pure/Isar/generic_target.ML	Thu May 29 22:46:20 2014 +0200
@@ -200,7 +200,7 @@
 
 fun background_abbrev (b, global_rhs) params =
   Local_Theory.background_theory_result (Sign.add_abbrev Print_Mode.internal (b, global_rhs))
-  #>> (fn (lhs, rhs) => (Term.list_comb (Logic.unvarify_global lhs, params), Logic.unvarify_global rhs))
+  #>> pairself (fn t => Term.list_comb (Logic.unvarify_global t, params))
 
 fun abbrev target_abbrev prmode ((b, mx), rhs) lthy =
   let