refactor cancelable to avoid circular source file dependencies
1.2
adds cancelable/fromNodeCallbackWithArity
1.1
adds either/bimap
1.0.0
adds nth, last and head to /list
0.7.0
detect Maybe and Either instances no longer when both instances have the sameMaybe or Eitherprototype class, but when they have the same well-known symbol"@@type". This will permit an app to use Maybes and Eithers from different module versions of @visisoft/staticland. "@@type" is also used by monet and sanctuary.
overloaded instanceof for Maybe and Either to operate just on other['@@type']. Choosing this approach instead of comparing everywhere ['@@type']s, preserves the ability to use Ramda's R.is utility function.
0.6.1
removed dist/cjs/cancelable/cancelable-pre-node-v18 because it never worked
baconjs is now a "peer dependency"
0.6
Breaking
moved deprecated NodeJs version of fetchResponseNodeJS into own CJS module /cancelable/cancelable-pre-node-v18
changed the Either method "fantasy-land/traverse" to comply with Fantasy Land,
changed the Either methods sequence and traverse to match those of Crocks (and others)
Features
replaced the Array based implementation of Maybe with a "mostly adequate", Fantasy Land compliant one,
introduced Either.ap and thus make lift possible for Either data
Maybe.ap and Either.ap
share the signatures with their Fantasy Land versions,
thus they're the same as in monet.js, purify and Tom Harding's blog but differ from Prof. Frisby's Guide and Crocks,
are just provided for convenience,
added pointfree-style fantasyland/sequence and fantasyland/traverse with signatures like in crocks/pointfree and will be in Ramda v0.29
breaking: Either type is now implemented as ES6 class (taken from the Mostly Adequate Guide) instead of an array of length 2
feat: Either now a FantasyLand Monad and Setoid type
0.2.0
renamed point-free submodule to fantasyland,
fixed tests for Node v16
0.2.0
point-free functions ap, chain, map, pluck, liftA2 to support FantasyLand types and native Promise
Fantasy-Land support for Cancelables
0.1.43
maybe/pluck
0.1.42
Maybe and Either are now "opaque" TS types.
0.1.40
cancelable/liftA3, cancelable/liftA4
0.1.39
cancelable/pluck
0.1.38
adds: either/traverse, either/sequence
0.1.37
chore: replaced semmel-ramda v0.33.0 with ramda v0.28.0
0.1.36
fix: cancelable/ap and thus cancelable/liftA2 did always resolve the right argument with undefined.
0.1.35
fix: transformations/cancelableToEventStream avoid cancellation for synchronous calls (e.g. when the stream ends thus calling abort synchronously on behalf of sink(x)
0.1.34
fix: transformations/cancelableToEventStream no longer invokes the Cancelable's abort function if the event stream ends after the Cancelable has settled.
0.1.33
exceptions in the cancelable/bi_tap functions get picked up
0.1.32
added cancelable/share
0.1.31
migrate cancelable/fetchResponse(NodeJS) to cancelable/fetchResponseIsoModule(globalThis)
Begun API for CancelableComputation incl. natural transformations to and from Bacon and Most streams
0.1.15
fix: Either no longer based on a unique Symbol but rather on a unique string. This should make Either compatible with a differently loaded staticland library.