blob: a8692f49feebc2543e3e36302b7ae87a06dd4941 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Main where
data Some = forall a. Some a
Some @a x = Some (5 :: Integer)
main = do
print (x :: a)
|