[Haskell-cafe] Code Golf
Emil Axelsson
emax at chalmers.se
Wed Apr 15 07:11:19 EDT 2009
Sorry, I misread the task :)
/ Emil
Emil Axelsson skrev:
> Why not:
>
> diag = [(x, sum-x) | sum <- [2..], x <- [1 .. sum-1]]
>
> / Emil
>
More information about the Haskell-Cafe
mailing list