On Fri, Jul 15, 2005 at 09:10:16AM +0100, Axel Simon wrote:
> I agree with Frederik since I've been bitten by that rule before.
> Defining a single function like so:
> 
> let a very long definition of "a" = and the body has to be here 
>                                     is a very long application to
>                                     "and" and using long arguments
>                                     like definition is a pain
> in
> 
> 
> is harder to read and might force you to use shorter, less descriptive
> variable names.

But you can format it this way:

let a very long definition of "a" =
        and the body has to be here is a very long application to "and"
        but using long arguments like definition is not that bad
in

or this way:

let 
  a very long definition of "a" =
    and the body has to be here is a very long application to "and" but
    using long arguments like definition is not that bad
in

Best regards
Tomasz
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to