shithub: MicroHs

ref: db4ae3641bc733c5c612d09b84b151558fb5a817
dir: /tests/Integer.hs/

View raw version
module Integer(main) where
import Prelude

main :: IO ()
main = do
  print $ (1000::Integer) == 1000
  print $ ((10::Integer)^(100::Int)) /= 0
  print $ show (product [1..100::Integer]) == "93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000"