1 2 3 4 5
{-# LANGUAGE PartialTypeSignatures, GADTs #-} module WildcardInGADT1 where data Foo a where Foo :: Either a _ -> Foo a