On Thu, Jan 8, 2009 at 6:04 PM, Jeff Heard <[email protected]> wrote:
> ...
> How do I declare all Regions to be Eqs without putting it in the class
> body (since I define a function over all Regions that is independent
> of datatype that is an instance of Region)?

Would this be a solution?

class Eq a => Region a where
  ...

Cristiano
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to