prelate-0.7.0.1: A Prelude
Safe HaskellSafe-Inferred
LanguageGHC2021

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.