Skip to content

Releases: re-xyr/cleff

v0.3.3.0

21 May 15:21
9355cfd
Compare
Choose a tag to compare

Changed

  • Slight performance improvements

Added

  • runStateLocal that runs the State effect with thread-local semantics

v0.3.2.0

13 Mar 10:02
5aa1afd
Compare
Choose a tag to compare

Changed

  • Slight performance improvements
  • (:>) is now a typeclass by itself instead of a type synonym

Plugin v0.1.0.0

13 Mar 10:01
5aa1afd
Compare
Choose a tag to compare
  • Initial release

v0.3.1.0

28 Feb 10:26
d8a7b93
Compare
Choose a tag to compare

Added

  • makeEffect is now capable of generating sending functions for operations using concrete Effs for the monad type

Removed

  • Dependency on rec-smallarray

v0.3.0.1

20 Feb 23:56
813b9b3
Compare
Choose a tag to compare

Changed

  • [BREAKING] Introduces an OnException primitive for Mask that replaces Bracket and BracketOnError
    (note that this only affects the effect datatype; there is still bracket and bracketOnError functions with the same semantics)
  • runError and mapError are slightly (but observably) faster now

Added

  • freshEnumToState for Fresh
  • onException and bracketOnError_ for Mask

v0.2.1.0

13 Feb 05:36
8b0134b
Compare
Choose a tag to compare

Added

  • Lifted convenience instances of Bounded, Num, Fractional, Floating and IsString for Eff
  • MonadZip instance from the MonadComprehensions extension for Eff
  • freshEnumToState and runFreshAtomicCounter for Fresh
  • inputToReader, mapInput and bindInput for Input
  • mapOutput and bindOutput for Output
  • runStateIORef, runStateMVar and runStateTVar for State

v0.2.0.0

06 Feb 13:31
96c60d4
Compare
Choose a tag to compare

Changed

  • [BREAKING] Changed parameter order of Handling class from e es esSend to esSend e es
  • [BREAKING] Relaxed fundep of Handling to esSend -> e es (HO combinators may require TypeApplication more often)
  • Moved Data.* modules to Cleff.Internal.* so as not to pollute common namespaces

Added

  • Trustworthy flags for non-internal modules
  • sendVia for sending an effect operation along a transformation between effect stacks
  • raiseUnder, raiseNUnder, raiseUnderN, raiseNUnderN for introducing effects under other effects in the effect stack
  • runWriterBatch as a more efficient Writer interpreter that writes listened values in batch instead of in real time

v0.1.0.0

31 Jan 04:52
Compare
Choose a tag to compare
  • Initial release