[Haskell-cafe] Restrictions on associated types for classes

Stephen Lavelle analytic at gmail.com
Thu Dec 17 08:37:38 EST 2009


Given

class MyClass k where
  type AssociatedType k :: *

Is there a way of requiring AssociatedType be of class Eq, say?


More information about the Haskell-Cafe mailing list