[Haskell-cafe] Syntax question: class (Monad m) => MonadReader r m | m -> r where

Mauricio briqueabraque at yahoo.com
Sun Nov 2 08:41:10 EST 2008


Hi,

I've reading Control.Monad.Reader source code and
arrived here:

class (Monad m) => MonadReader r m | m -> r where

I can't understand that syntax. Since this is not a
'data' line, what is the '|' supposed mean?

Thanks,
Maurício



More information about the Haskell-Cafe mailing list