lensref-0.1.0.5: References which can be joined and on which lenses can be applied

Safe HaskellNone
LanguageHaskell98

Data.LensRef.Test

Contents

Description

Tests for the MonadRefCreator interface.

Synopsis

Tests for the interface

mkTests :: (MonadRegisterRun m, MonadRefWriter m, EffectM m ~ Prog (AsocT m), Monad n) => (m () -> n ()) -> n () Source

mkTests generates a list of error messages which should be emtpy.

Look inside the sources for the tests.

tests :: (MonadRegisterRun m, EffectM m ~ Prog (AsocT m), Monad n, MonadRegister (Modifier m)) => (forall a. (Eq a, Show a) => String -> m a -> Prog' (a, Prog' ()) -> n ()) -> n () Source