summaryrefslogtreecommitdiff
path: root/libraries/base/tests/length001.hs
blob: 321a1b9dfce8b5923624d9ff7c7ee070b9fad33e (plain)
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)