1 2 3 4 5 6 7 8 9
{-# LANGUAGE RankNTypes #-} module T8758 where class C m where foo :: (forall b. b -> m b) -> c -> m c instance C [] where foo f c = f c