shithub: MicroHs

ref: 5c0c2769456ea4e471e9b53fdee234405942490a
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]