src/Pure/simplifier.ML
changeset 16685 4ffc943c9c75
parent 16684 7b58002668c0
child 16709 a4679ac06502
--- a/src/Pure/simplifier.ML	Mon Jul 04 20:13:39 2005 +0200
+++ b/src/Pure/simplifier.ML	Mon Jul 04 20:20:50 2005 +0200
@@ -475,10 +475,10 @@
   Args.parens (Args.$$$ asm_lrN) >> K asm_lr_simp_tac ||
   Scan.succeed asm_full_simp_tac);
 
-val simp_flags = Scan.repeat
+fun simp_flags x = (Scan.repeat
   (Args.parens (Args.$$$ "depth_limit" -- Args.colon |-- Args.nat)
     >> setmp MetaSimplifier.simp_depth_limit)
-  >> curry (Library.foldl op o) I;
+  >> curry (Library.foldl op o) I) x;
 
 val cong_modifiers =
  [Args.$$$ congN -- Args.colon >> K ((I, cong_add_local):Method.modifier),