shithub: MicroHs

ref: 08a727c87c4c642bfc3c609c295369f9d70c0d62
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