@visisoft/staticland
Advanced tools
Comparing version 0.1.18 to 0.1.19
Changelog | ||
========= | ||
0.1.19 | ||
------ | ||
- added `maybeOfBaconObservableToBaconObservableOfMaybe` | ||
0.1.16 | ||
@@ -5,0 +9,0 @@ ------- |
export type BinaryCurriedFn<S, T, U> = (s: T) => (t: T) => U; | ||
export type TernaryCurriedFn<S, T, U, V> = (s: T) => (t: T) => (u: U) => V; | ||
export type QuaternaryCurriedFn<S, T, U, V, W> = (s: T) => (t: T) => (u: U) => (v: V) => W; | ||
export type Function0<R> = () => R; | ||
export type Function1<T1, R> = (t1: T1) => R; | ||
export type Function2<T1, T2, R> = (t1: T1, t2: T2) => R; | ||
export type Function3<T1, T2, T3, R> = (t1: T1, t2: T2, t3: T3) => R; | ||
export type Function4<T1, T2, T3, T4, R> = (t1: T1, t2: T2, t3: T3, t4: T4) => R; | ||
export type Function5<T1, T2, T3, T4, T5, R> = (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R; | ||
export type Function6<T1, T2, T3, T4, T5, T6, R> = (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6) => R; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.18 visisoft.de | ||
(Build date: 3/9/2021 - 10:35:54 PM) | ||
@visisoft/staticland v.0.1.19 visisoft.de | ||
(Build date: 3/18/2021 - 5:35:55 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.18 visisoft.de | ||
(Build date: 3/9/2021 - 10:35:54 PM) | ||
@visisoft/staticland v.0.1.19 visisoft.de | ||
(Build date: 3/18/2021 - 5:35:55 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.18 visisoft.de | ||
(Build date: 3/9/2021 - 10:35:54 PM) | ||
@visisoft/staticland v.0.1.19 visisoft.de | ||
(Build date: 3/18/2021 - 5:35:55 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.18 visisoft.de | ||
(Build date: 3/9/2021 - 10:35:54 PM) | ||
@visisoft/staticland v.0.1.19 visisoft.de | ||
(Build date: 3/18/2021 - 5:35:55 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.18 visisoft.de | ||
(Build date: 3/9/2021 - 10:35:54 PM) | ||
@visisoft/staticland v.0.1.19 visisoft.de | ||
(Build date: 3/18/2021 - 5:35:55 PM) | ||
*/ | ||
@@ -603,2 +603,6 @@ 'use strict'; | ||
// :: Maybe Observable e a -> EventStream e Maybe a | ||
const maybeOfBaconObservableToBaconObservableOfMaybe = | ||
maybe(semmelRamda.compose(Bacon.once, nothing), observable => observable.toEventStream().map(of$1)); | ||
/** | ||
@@ -654,3 +658,4 @@ * StaticLand: transformations.js | ||
cancelableToEventStream: cancelableToBaconStream, | ||
eitherToCancelable: eitherToCancelable | ||
eitherToCancelable: eitherToCancelable, | ||
maybeOfBaconObservableToBaconObservableOfMaybe: maybeOfBaconObservableToBaconObservableOfMaybe | ||
}); | ||
@@ -657,0 +662,0 @@ |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.18 visisoft.de | ||
(Build date: 3/9/2021 - 10:35:54 PM) | ||
@visisoft/staticland v.0.1.19 visisoft.de | ||
(Build date: 3/18/2021 - 5:35:55 PM) | ||
*/ | ||
@@ -417,2 +417,6 @@ 'use strict'; | ||
// :: Maybe Observable e a -> EventStream e Maybe a | ||
const maybeOfBaconObservableToBaconObservableOfMaybe = | ||
maybe(semmelRamda.compose(Bacon.once, nothing), observable => observable.toEventStream().map(of$2)); | ||
/** | ||
@@ -461,2 +465,3 @@ * StaticLand: transformations.js | ||
exports.keyPromiseToPromiseCollection = keyPromiseToPromiseCollection; | ||
exports.maybeOfBaconObservableToBaconObservableOfMaybe = maybeOfBaconObservableToBaconObservableOfMaybe; | ||
exports.maybeOfPromiseToPromiseOfMaybe = maybeOfPromiseToPromiseOfMaybe; | ||
@@ -463,0 +468,0 @@ exports.maybeToObj = maybeToObj; |
@@ -89,3 +89,3 @@ { | ||
"type": "module", | ||
"version": "0.1.18" | ||
"version": "0.1.19" | ||
} |
export type BinaryCurriedFn<S, T, U> = (s: T) => (t: T) => U; | ||
export type TernaryCurriedFn<S, T, U, V> = (s: T) => (t: T) => (u: U) => V; | ||
export type QuaternaryCurriedFn<S, T, U, V, W> = (s: T) => (t: T) => (u: U) => (v: V) => W; | ||
export type Function0<R> = () => R; | ||
export type Function1<T1, R> = (t1: T1) => R; | ||
export type Function2<T1, T2, R> = (t1: T1, t2: T2) => R; | ||
export type Function3<T1, T2, T3, R> = (t1: T1, t2: T2, t3: T3) => R; | ||
export type Function4<T1, T2, T3, T4, R> = (t1: T1, t2: T2, t3: T3, t4: T4) => R; | ||
export type Function5<T1, T2, T3, T4, T5, R> = (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R; | ||
export type Function6<T1, T2, T3, T4, T5, T6, R> = (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6) => R; |
@@ -18,2 +18,3 @@ /** | ||
export {default as eitherToCancelable} from './transformations/eitherToCancelable.js'; | ||
export {default as maybeOfBaconObservableToBaconObservableOfMaybe} from './transformations/maybeOfBaconObservableToBaconObservableOfMaybe.js'; | ||
@@ -20,0 +21,0 @@ const |
112353
50
2651