[Haskell-cafe] Re: Coding conventions for Haskell?

Johan Tibell johan.tibell at gmail.com
Sun Sep 26 20:23:28 EDT 2010


On Sun, Sep 26, 2010 at 12:31 PM, Maciej Piechotka
<uzytkownik2 at gmail.com> wrote:
> May I ask clarification about formatting (according to your convention)
>
> doSomething :: (a -> a -> a) -> a -> a -> a
> doSomething f x = f y y
>                  where y = f x x

I always put 2 spaces before the where clause.


More information about the Haskell-Cafe mailing list