class MonadPlus m => MonadRing m