[Haskell-cafe] Statements spanning multiple lines?

Daniel Carrera daniel.carrera at zmsl.com
Thu Dec 22 11:42:55 EST 2005


J. Garrett Morris wrote:
> Indent the second line:
> 
> pythagoras n = [(a,b,c) | a <-[1..n], b <-[1..n], c <-[1..n], a <= b, b
>                               < c, a*a + b*b == c*c]
> 

Thanks!

Daniel.
-- 
      /\/`) http://oooauthors.org
     /\/_/  http://opendocumentfellowship.org
    /\/_/
    \/_/    I am not over-weight, I am under-tall.
    /


More information about the Haskell-Cafe mailing list