Hi,

> Or (I assume, haven't tested) if you insist on renaming the methods:
> 
>   doMeth m | m == getMethod = ...
>            | m == putMethod = ... 

This, of course, assumes that you've derived (or declared) Method an
instance of Eq.

Regards,

Stefan


_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to