fork download
  1. range1 = [ 0, 2, 4, 6, 8 ];
  2.  
  3. main = print [a * b | a <- range1, b <- [0..a]]
  4.  
Success #stdin #stdout 0.02s 3592KB
stdin
Standard input is empty
stdout
[0,0,2,4,0,4,8,12,16,0,6,12,18,24,30,36,0,8,16,24,32,40,48,56,64]