more consistent spacing in generated monadic code
authorhaftmann
Wed, 14 Jul 2010 17:27:54 +0200
changeset 37833 1381665d9550
parent 37832 f8fcfc678280
child 37834 c78327288b50
child 37836 2bcce92be291
more consistent spacing in generated monadic code
src/Tools/Code/code_haskell.ML
--- a/src/Tools/Code/code_haskell.ML	Wed Jul 14 17:16:02 2010 +0200
+++ b/src/Tools/Code/code_haskell.ML	Wed Jul 14 17:27:54 2010 +0200
@@ -446,7 +446,7 @@
           val (ps, vars') = fold_map (print_monad (gen_print_bind (K print_term) thm) print_term)
             (bind :: binds) vars;
         in
-          (brackify fxy o single o enclose "do {" "}" o Pretty.breaks)
+          (brackify fxy o single o enclose "do { " " }" o Pretty.breaks)
             (ps @| print_term vars' NOBR t'')
         end
       | NONE => brackify_infix (1, L) fxy