nlogax
Member since Jan 27, 2011
- Profile: /members/7677-nlogax.htm
- Comments: 2
Recent Blog Comments By nlogax
-
Seven Languages In Seven Weeks: Haskell - Day 1
Posted on Jan 27, 2011 at 3:33 AM
Sorry about the weird formatting, wasn't sure how it would look.... read more »
-
Seven Languages In Seven Weeks: Haskell - Day 1
Posted on Jan 27, 2011 at 3:09 AM
If you don't want any parameters, you can write your getTable as getTable :: [(Integer, Integer, Integer)] getTable = [(x, y, x * y) | x <- [1..maxValue], y <- [1..maxValue]] where maxValue = 12 Also, you can skip the type signature, load your file in ghci, and then do :t... read more »