fixed confusion introduced in 008dc2d2c395
authorkrauss
Tue, 26 Oct 2010 13:19:31 +0200
changeset 40180 c3ef007115a0
parent 40179 7ecfa9beef91
child 40182 e4fbe44838dd
fixed confusion introduced in 008dc2d2c395
src/HOL/Tools/Function/partial_function.ML
--- a/src/HOL/Tools/Function/partial_function.ML	Tue Oct 26 12:23:39 2010 +0200
+++ b/src/HOL/Tools/Function/partial_function.ML	Tue Oct 26 13:19:31 2010 +0200
@@ -218,9 +218,8 @@
     lthy'
     |> Local_Theory.note (eq_abinding, [rec_rule])
     |-> (fn (_, rec') =>
-      Spec_Rules.add Spec_Rules.Equational ([f], [rec'])
-      |> Local_Theory.note ((Binding.qualify true fname (Binding.name "simps"), []), rec'))
-    |> snd
+      Spec_Rules.add Spec_Rules.Equational ([f], rec')
+      #> Local_Theory.note ((Binding.qualify true fname (Binding.name "simps"), []), rec') #> snd)
   end;
 
 val add_partial_function = gen_add_partial_function Specification.check_spec;