polysemy v1.2.0.0 Release Notes
Release Date: 2019-09-04 // almost 3 years ago-
๐ฅ Breaking Changes
- ๐ All
lower-
interpreters have been deprecated, in favor of corresponding-Final
interpreters. - ๐
runFixpoint
andrunFixpointM
have been deprecated in favor offixpointToFinal
. - The semantics for
runNonDet
when<|>
is used inside a higher-order action of another effect has been changed. - Type variables for certain internal functions,
failToEmbed
, andatomicState'
have been rearranged.
Other changes
- โ Added
Final
effect, an effect for embedding higher-order actions in the final monad of the effect stack. Any interpreter should use this instead of requiring to be provided an explicit lowering function to the final monad. - โ Added
Strategy
environment for use together withFinal
- โ Added
asyncToIOFinal
, a better alternative oflowerAsync
- โ Added
errorToIOFinal
, a better alternative oflowerError
- โ Added
fixpointToFinal
, a better alternative ofrunFixpoint
andrunFixpointM
- โ Added
resourceToIOFinal
, a better alternative oflowerResource
- โ Added
outputToIOMonoid
andoutputToIOMonoidAssocR
- โ Added
stateToIO
- โ Added
atomicStateToIO
- โ Added
runWriterTVar
,writerToIOFinal
, andwriterToIOAssocRFinal
- โ Added
writerToEndoWriter
- โ Added
subsume
operation - ๐ฆ Exposed
raiseUnder
/2
/3
inPolysemy
- ๐ All