prelate-0.3.0.0: A Prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

Prelate.Atomic

Description

AtomicState combinators for lenses

Synopsis

Documentation

atomicSet :: Member (AtomicState s) r => Lens' s a -> a -> Sem r () Source #

Modify the focus of a lens in AtomicState.

atomicView :: Member (AtomicState s) r => Lens' s a -> Sem r a Source #

View the focus of a lens in AtomicState.