shithub: MicroHs

ref: 37a178d694b1d62b93c38ea883c9b2df2c632f25
dir: /tests/ListTest.hs/

View raw version
module ListTest(module ListTest) where
import Prelude

main :: IO ()
main = do
  putStrLn $ show $ sum [1,2,3::Int]
  putStrLn $ show $ product [1,2,3,4::Int]
  putStrLn $ show $ and [True]
  putStrLn $ show $ and [True, False]