| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Prelate.Atomic
Description
AtomicState combinators for lenses
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.