automatically clean up Haskell code?
Is there a program that can automatically clean up your Haskell code? That is, shrink to 80 columns, make tidy indentation, remove unnecessary whitespace, and all that sort of stuff...? -- frigidcode.com indicium.us
2012/7/20 Christopher Howard <christopher.howard@frigidcode.com>:
Is there a program that can automatically clean up your Haskell code? That is, shrink to 80 columns, make tidy indentation, remove unnecessary whitespace, and all that sort of stuff...?
Vim, emacs? Best, Regards
On Thu, Jul 19, 2012 at 06:19:36PM -0800, Christopher Howard wrote:
Is there a program that can automatically clean up your Haskell code? That is, shrink to 80 columns, make tidy indentation, remove unnecessary whitespace, and all that sort of stuff...?
Try http://hackage.haskell.org/package/stylish%2Dhaskell . -Brent
You may want to try out (and complain afterwards) scan -i <file.hs> http://hackage.haskell.org/package/scan scan does not break your lines that are longer than 80 chars, though, but it reports those. C. Am 20.07.2012 04:19, schrieb Christopher Howard:
Is there a program that can automatically clean up your Haskell code? That is, shrink to 80 columns, make tidy indentation, remove unnecessary whitespace, and all that sort of stuff...?
participants (4)
-
Brent Yorgey -
Christian Maeder -
Christopher Howard -
Karol Samborski