You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To have a law-abiding MonadIO means that your monad must be at least as powerful as IO - ie, be a transformer over IO. Such a monad won't have a meaningful Eq instance, because IO has no Eq instance. Can monadIOLaws actually ever be used?
To have a law-abiding
MonadIOmeans that your monad must be at least as powerful asIO- ie, be a transformer overIO. Such a monad won't have a meaningfulEqinstance, becauseIOhas noEqinstance. CanmonadIOLawsactually ever be used?