This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
v6.0.1
The highlights of this release:
- project is now modular
- introduced
IO<A>
, probably the bestPromise
alternative in JavaScript's ecosystem- see documentation
- added
Comonad
andCoflatMap
type-classes- see documentation
- made
Eval
implementComonad
, while removing error handling capabilities from it and now also hassequence
andmap2
,map3
, etc- see documentation
Full list of changes:
- PR #36: made project a "monorepo", splitting the main project into sub-projects, for à la carte dependency management, although you can still depend just on
funfix
and get everything; the new sub-projects are:funfix-core
funfix-exec
funfix-effect
funfix-types
funfix
- PR #37: added
ExecutionModel
(funfix-exec
) for batched processing, see issue description for more details - PR #38: added
IO<A>
(infunfix-effect
) as the lazy, lawful, Promise-alternative, which comes in addition toFuture<A>
(infunfix-exec
), complementing it - PR #40:
Eval<A>
(infunfix-effect
) no longer implements error handling capabilities, orMonadError
(this is becauseEval
must now implementComonad
, which is incompatible withMonadError
) - PR #43: added
CoflatMap
andComonad
type classes infunfix-effect
, along with instances (Eval
implementsComonad
, whereas all other data types implementCoflatMap
) - PR #44: removed
Either.left()
andEither.right()
, because those are not total functions, being a booby-trap for beginners - PR #45: added
Eval.sequence
, along withmap2
,map3
...map6