loading
open in
main.hs
1
2
3
4
5
main = do
  print $ (return 2 :: [Integer])
  print $ (return 2 :: Maybe Integer)
  print $ (return 2 :: Either Integer Integer)
GHCi, version 8.0.1