With main = putStrLn $ show $ last $ zip [1..] (replicate 100000 'a') I get Stack space overflow: current size 1048576 bytes. Use `+RTS -Ksize' to increase it. If I Change the [1..] to ([1..] :: [Int]) then it works fine. Ian