Name: Anonymous 2011-08-21 20:24
In this list comprehension:
what is the behavior of "1..c" and "1..b"?
let rightTriangles = [ (a,b,c) | c <- [1..10], b <- [1..c], a <- [1..b], a^2 + b^2 == c^2]what is the behavior of "1..c" and "1..b"?