blob: 11fa313e3c89f784ff2023588652e7d404078d0c (
plain)
1
2
3
4
5
6
7
|
:set -XGADTs -XPolyKinds -XTypeApplications
:set -fprint-explicit-foralls
import Data.Proxy
data X a where { MkX :: b -> Proxy a -> X a }
:type +v MkX
:type +v MkX @Int
:type +v MkX @Int @Maybe
|