
27 Feb
2014
27 Feb
'14
2:23 p.m.
On Wed, Feb 26, 2014 at 4:01 PM, Johan Tibell
On Wed, Feb 26, 2014 at 3:51 PM, Tillmann Rendel
wrote: 1. change `cabal init` to use the pretty printer. 2. expose the pretty printer at the command line.
Agreed on both points. We should add (2) as `cabal format` (similar to go-fmt) or something like that.
I would love to have this, it would make editing cabal files with tools much more appealing. What would be ideal would be a way to edit the files while preserving whitespace. But I know from haskell-src-exts that this is a very tricky thing to get right. Regards, Erik