summaryrefslogtreecommitdiff
path: root/libraries/base/tests/T3474.hs
blob: dbd59011b445e79b969d14467f621618f34d1423 (plain)
1
2
3
4
5
import Data.List

-- this should evaluate in constant space
main :: IO ()
main = print $ iterate' (+1) 1 !! 100000000