http://www.colorless-sight.jp/wiki/?ProjectEular%2FProblem29
[[ProjectEular]] -- Problem 29 module Main (main) where import qualified List as L (nub) main :: IO () main = print $ problem29 problem29 :: Int problem29 = length $ L.nub [ a^b | a <- [2..100], b <- [2..100] ]