packages feed

ghc-exactprint-0.5.3.1: tests/examples/ghc80/T10335.hs

{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, ConstraintKinds #-}

module Foo where

type X a = (Eq a, Show a)

class Eq a => C a b

-- HEAD was unable to find the (Eq a) superclass
-- for a while in March/April 2015
instance X a => C a [b]