Changelog for cleff-0.3.4.0
Changelog for cleff
Unreleased
Changed
- Internal overhaul
0.3.3.0 (2022-05-21)
Changed
- Slight performance improvements
Added
runStateLocalthat runs theStateeffect with thread-local semantics
0.3.2.0 (2022-03-13)
Changed
- Slight performance improvements
(:>)is now a typeclass by itself instead of a type synonym
0.3.1.0 (2022-02-28)
Added
makeEffectis now capable of generating sending functions for operations using concreteEffs for the monad type
Removed
- Dependency on
rec-smallarray
0.3.0.1 (2022-02-21)
Clarify changelog: new features that are listed "Unreleased" in 0.3.0.0 changelog are in fact released
0.3.0.0 (2022-02-21)
Changed
- [BREAKING] Introduces an
OnExceptionprimitive forMaskthat replacesBracketandBracketOnError(note that this only affects the effect datatype; there is stillbracketandbracketOnErrorfunctions with the same semantics) runErrorandmapErrorare slightly (but observably) faster now
Added
freshEnumToStateforFreshonExceptionandbracketOnError_forMask
0.2.1.0 (2022-02-13)
Added
- Lifted convenience instances of
Bounded,Num,Fractional,FloatingandIsStringforEff MonadZipinstance from theMonadComprehensionsextension forEffrunFreshAtomicCounterforFreshinputToReader,mapInputandbindInputforInputmapOutputandbindOutputforOutputrunStateIORef,runStateMVarandrunStateTVarforState
0.2.0.0 (2022-02-06)
Changed
- [BREAKING] Changed parameter order of
Handlingclass frome es esSendtoesSend e es - [BREAKING] Relaxed fundep of
HandlingtoesSend -> e es(HO combinators may requireTypeApplicationmore often) - Moved
Data.*modules toCleff.Internal.*so as not to pollute common namespaces
Added
Trustworthyflags for non-internal modulessendViafor sending an effect operation along a transformation between effect stacksraiseUnder,raiseNUnder,raiseUnderN,raiseNUnderNfor introducing effects under other effects in the effect stackrunWriterBatchas a more efficientWriterinterpreter that writeslistened values in batch instead of in real time
0.1.0.0 (2022-01-31)
- Initial API