1 2 3 4 5 6 7 8 9
{-# LANGUAGE ImplicitParams, ImpredicativeTypes #-} module Bug where f1 :: Maybe ((?a :: Bool) => Char) f1 = Just 'C' f2 :: Maybe ((?a :: Bool) => Bool) f2 = Just ?a