shithub: MicroHs

ref: e0bff6c183d9ed36fc8e16e498538265f7f263fd
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]