
8 May
2007
8 May
'07
2:39 a.m.
Brandon, On May 8, 2007, at 12:33 AM, Brandon Michael Moore wrote:
braces x = group (PP. braces (nest 4 (linebreak <> x) <> linesbreak)
I ended up with the following: nest = PP.nest 4 braces x = nest (lbrace <$> x) <$> rbrace
If you happen to be formatting C I've also worked out how to get nice argument lists out of both pretty printers.
I'm formatting C# but I'll certainly take your arg list tips. Thanks, Joel -- http://wagerlabs.com/