1 2 3 4 5 6 7 8 9
{-# LANGUAGE UndecidableInstances #-} module ShouldFail where -- !!! ambiguous constraint in the context of an instance declaration class Bar a instance Bar a => Bar Bool