shithub: MicroHs

ref: b4c123bea759f3436972fc6a6a173f3715581ea3
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