shithub: MicroHs

ref: 5c6c83ad0e9e9551c1792cea964f863db9669fb7
dir: /tests/TypeApp.hs/

View raw version
module TypeApp where
import Data.Typeable

foo :: forall a b . (a, b)
foo = (undefined, undefined)

main :: IO ()
main = do
  print $ read @Int "123"
  let (x, y) = foo @_ @Bool
  print $ typeOf y