Folks,

Are you using UU.PPrint [1]? Can you tell me how to print stuff like this?

{
     blah
     blah
}

I tried the following which sort of works but doesn't return the closing brace to the indentation level of the first one.

braces x = PP.braces $ linebreak <> indent 4 x

        Thanks, Joel

[1] http://tinyurl.com/25t6xz

--
http://wagerlabs.com/





_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to