[Haskell-cafe] Formatting function types
Chung-chieh Shan
ccshan at post.harvard.edu
Thu Dec 30 16:23:23 CET 2010
Lauri Alanko <la at iki.fi> wrote in article <20101230133355.GB323 at melkinpaasi.cs.helsinki.fi> in gmane.comp.lang.haskell.cafe:
> The following is much clearer:
>
> openTempFile ::
> FilePath ->
> String ->
> IO (FilePath, Handle)
>
> (Possibly with the arrows aligned.)
>
> I can't understand how the "arrows first" convention still lingers so
> strongly when it is (to me) so obviously wrong and misleading.
What about chains of $ in terms? (Both -> in types and $ in terms
associate to the right. What about + - * / in terms, which associate to
the left?)
--
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Where is Galt's Gulch?
More information about the Haskell-Cafe
mailing list