[Haskell-cafe] equations and patterns

Stefan Holdermans stefan at cs.uu.nl
Thu May 31 03:40:44 EDT 2007


Dan,

> If you want to enforce associativity just create your own Eq  
> instance and
> make it a pattern there.

Could you elaborate on that? It's still early here and I've had only  
one cup of of coffee yet.

Cheers,

   Stefan


More information about the Haskell-Cafe mailing list