shithub: MicroHs

ref: 8681ea7f41031e95eba880baf934d743cb558758
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