prelate-0.8.0.0: A Prelude
Safe HaskellNone
LanguageGHC2021

Prelate.Atomic

Description

AtomicState combinators for lenses

Synopsis

Documentation

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

Modify the focus of a lens in AtomicState.

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

View the focus of a lens in AtomicState.