[Haskell] same type multiply implementing a class

Daniel Mahler dmahler at gmail.com
Wed Mar 14 22:23:45 EDT 2007


Is there any way for the same type to implement a typeclass multiple ways.
The particular situation I  have in mind is composing
two monad trasformers of the same type, say reader monad.
In pure theory one reader can lift through another,
but in an implementation one gets a name clash.

thanks
Daniel


More information about the Haskell mailing list