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

Safe HaskellNone
LanguageHaskell98

Data.LensRef.Default

Description

Default implementation. Points to either to the pure or the fast implementation depending on the cabal flag PURE.

Documentation

type Register m = Reg (Wrap m) Source

runRegister :: NewRef m => (forall a. m (m a, a -> m ())) -> Register m a -> m (a, m ()) Source