1 2 3 4 5
{-# LANGUAGE PartialTypeSignatures, TypeFamilies #-} module EqualityConstraint where foo :: a ~ Bool => (a, _) foo = (True, False)