blob: 840f28d613f6e71c10b22e64fa75e9a3a650a942 (
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 MkX
:type MkX @Int
:type MkX @Int @Maybe
|