1 2 3 4 5 6 7 8
module Main (main) where import Data.List main :: IO () main = do print (genericLength [1..10000000] :: Int) print (genericLength [1..10000000] :: Integer)