shithub: MicroHs

ref: 6dd14a51e82d8586f9eca77443e01dc5990c0a2e
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]