ClassLaws-0.3.0.1: Stating and checking laws for type class methods

Safe HaskellSafe-Infered

Control.Monad.State.Class.Laws

Description

Laws for the MonadState class. A submodule has a main which runs quite a few tests for the lazy and strict state monads.

Documentation

defaultMonadStateGetGet :: MonadState a m => (a -> a -> m b) -> Theorem (m b)Source

data MonadStatePutPut s m Source

Instances

data MonadStatePutGet s m Source

Instances

data MonadStateGetGet s a m Source

Instances