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