@visisoft/staticland
Advanced tools
Comparing version 0.2.6 to 0.3.0
export type Cancelable<A> = (res: (a: A) => void, rej: (e: any) => void) => (() => void); | ||
export function addFantasyLandInterface<A>(ca: Cancelable<A>): Cancelable<A>; | ||
export function of<A>(a: A): Cancelable<A>; | ||
@@ -25,4 +26,2 @@ export function reject(e: any): Cancelable<any>; | ||
export function fantasyfy<A>(ca: Cancelable<A>): Cancelable<A>; | ||
export function map<A, B>(fn: (a: A) => B, ma: Cancelable<A>): Cancelable<B>; | ||
@@ -36,2 +35,6 @@ export function map<A, B>(fn: (a: A) => B): (ma: Cancelable<A>) => Cancelable<B>; | ||
export function biChain<A, B>(fnLeft: (e:any) => Cancelable<B>, fnRight: (x: A) => Cancelable<B>, ma: Cancelable<A>): Cancelable<B>; | ||
export function biChain<A, B>(fnLeft: (e:any) => Cancelable<B>, fnRight: (x: A) => Cancelable<B>): (ma: Cancelable<A>) => Cancelable<B>; | ||
export function biChain<A, B>(fnLeft: (e:any) => Cancelable<B>): (fnRight: (x: A) => Cancelable<B>) => (ma: Cancelable<A>) => Cancelable<B>; | ||
export function chain<A, B>(fn: (x: A) => Cancelable<B>, ma: Cancelable<A>): Cancelable<B>; | ||
@@ -38,0 +41,0 @@ export function chain<A, B>(fn: (x: A) => Cancelable<B>): (ma: Cancelable<A>) => Cancelable<B>; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -1835,7 +1835,4 @@ 'use strict'; | ||
let fantasyfy = fantasticCancelable({ap, chain, map: map$1, never, of}); | ||
var cancelable = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
fantasyfy: fantasyfy, | ||
chain: chain, | ||
@@ -1849,2 +1846,3 @@ later: later, | ||
TypeRepresentative: TypeRepresentative, | ||
addFantasyLandInterface: addFantasyLandInterface, | ||
reject: reject, | ||
@@ -1851,0 +1849,0 @@ race: race, |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.2.6 visisoft.de | ||
(Build date: 11/6/2022 - 2:12:10 AM) | ||
@visisoft/staticland v.0.3.0 visisoft.de | ||
(Build date: 11/19/2022 - 5:54:00 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
@@ -19,7 +19,7 @@ { | ||
"baconjs": "^3.0.17", | ||
"chai": "^4.3.6", | ||
"chai": "^4.3.7", | ||
"es-module-shims": "^0.4.6", | ||
"hirestime": "^6.1.0", | ||
"istanbul-badges-readme": "^1.8.2", | ||
"mocha": "^10.0.0", | ||
"mocha": "^10.1.0", | ||
"rollup": "^2.77.2" | ||
@@ -116,3 +116,3 @@ }, | ||
"type": "module", | ||
"version": "0.2.6" | ||
"version": "0.3.0" | ||
} |
export type Cancelable<A> = (res: (a: A) => void, rej: (e: any) => void) => (() => void); | ||
export function addFantasyLandInterface<A>(ca: Cancelable<A>): Cancelable<A>; | ||
export function of<A>(a: A): Cancelable<A>; | ||
@@ -25,4 +26,2 @@ export function reject(e: any): Cancelable<any>; | ||
export function fantasyfy<A>(ca: Cancelable<A>): Cancelable<A>; | ||
export function map<A, B>(fn: (a: A) => B, ma: Cancelable<A>): Cancelable<B>; | ||
@@ -36,2 +35,6 @@ export function map<A, B>(fn: (a: A) => B): (ma: Cancelable<A>) => Cancelable<B>; | ||
export function biChain<A, B>(fnLeft: (e:any) => Cancelable<B>, fnRight: (x: A) => Cancelable<B>, ma: Cancelable<A>): Cancelable<B>; | ||
export function biChain<A, B>(fnLeft: (e:any) => Cancelable<B>, fnRight: (x: A) => Cancelable<B>): (ma: Cancelable<A>) => Cancelable<B>; | ||
export function biChain<A, B>(fnLeft: (e:any) => Cancelable<B>): (fnRight: (x: A) => Cancelable<B>) => (ma: Cancelable<A>) => Cancelable<B>; | ||
export function chain<A, B>(fn: (x: A) => Cancelable<B>, ma: Cancelable<A>): Cancelable<B>; | ||
@@ -38,0 +41,0 @@ export function chain<A, B>(fn: (x: A) => Cancelable<B>): (ma: Cancelable<A>) => Cancelable<B>; |
@@ -15,2 +15,3 @@ /** | ||
export {default as addFantasyLandInterface} from './cancelable/addFantasyLandInterface.js'; | ||
export {default as reject} from './cancelable/reject.js'; | ||
@@ -46,4 +47,2 @@ export {default as race} from './cancelable/race.js'; | ||
export let fantasyfy = fantasticCancelable({ap, chain, map, never, of}); | ||
export { | ||
@@ -50,0 +49,0 @@ chain, |
255855
119
6982