Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  automatically clean up Haskell code? (Brent Yorgey)
   2. Re:  automatically clean up Haskell code? (Christian Maeder)


----------------------------------------------------------------------

Message: 1
Date: Fri, 20 Jul 2012 07:09:12 -0400
From: Brent Yorgey <[email protected]>
Subject: Re: [Haskell-beginners] automatically clean up Haskell code?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

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



------------------------------

Message: 2
Date: Fri, 20 Jul 2012 13:54:36 +0200
From: Christian Maeder <[email protected]>
Subject: Re: [Haskell-beginners] automatically clean up Haskell code?
To: Christopher Howard <[email protected]>
Cc: Haskell Beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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...?
>
>
>




------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 49, Issue 24
*****************************************

Reply via email to