On 30 December 2010 15:44, Antoine Latter <aslatter@gmail.com> wrote:
On Thu, Dec 30, 2010 at 8:33 AM, Lauri Alanko <la@iki.fi> wrote:
> Even nowadays, Haddock deliberately generates the following layout for
> long function types:
>
> openTempFile
>    :: FilePath
>    -> String
>    -> IO (FilePath, Handle)
>

Aesthetics is a funny thing. I prefer writing my type signatures
arrow-first if they grow too long.
 
Me too:

fooBar :: Foo a
       => Bar a
       -> Mu a
       -> Zot ()

Though in Lisk I don't have to think much about this:

(:: foo-bar (=> ('foo a) (-> ('bar a) ('mu a) ('zot ()))))

(:: foo-bar 
    (=> ('foo a)
        (-> ('bar a)
            ('mu a)
            ('zot ()))))