Small documentation adjustments
commit7e72f9d2f1aa64604e06a2e1c9cc63dff14b15a1
authorAndrzej Rybczak <andrzej@rybczak.net>
dateFri 16 Jul 2021, 18:24 (5 years ago)
parent99bdb5c
src/Effectful/State/Dynamic.hs+1−1
@@ -38,7 +38,7 @@ import qualified Effectful.State.Shared as S
3838
3939-- | Provide access to a mutable state of type @s@.
4040--
41−-- Whether the state is local and shareable depends on the interpretation.
41+-- Whether the state is local or shared depends on the interpretation.
4242data State s :: Effect where
4343 Get :: State s m s
4444 Put :: ~s -> State s m ()
src/Effectful/State/Local.hs+2−2
@@ -2,8 +2,8 @@
22--
33-- Represented as a pure value underneath, therefore:
44--
5−-- - thread local (if you need the state to be shareble, have a look at
6−-- "Effectful.State.Shared"),
5+-- - thread local (if you need the state to be shared between threads, have a
6+-- look at "Effectful.State.Shared"),
77--
88-- - very fast.
99--