Hi,

> What is a good technique for breaking up long lines of code (for easier 
> readability)?
Indentation, the {- -} comments are probably having little effect.

For example, the following is perfectly valid:

f x y = if x then
                y
          else
                not y

The indentation rules are quite complex, but just type your code
"sensibly indented" and it will probably just work.

Thanks

Neil

On 4/2/06, miketerrance <[EMAIL PROTECTED]> wrote:

>
> I have been inserting {- -} comments but there must be a better way.  
> Something like \ in Python?
>
> Lycos email has 300 Megabytes of free storage... Get it now at 
> mail.lycos.co.uk
>
> _______________________________________________
> Haskell-Cafe mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
>
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to