@visisoft/staticland
Advanced tools
Comparing version 0.1.42 to 0.1.43
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -85,2 +85,11 @@ 'use strict'; | ||
/** | ||
* StaticLand: pluck.js | ||
* | ||
* Created by Matthias Seemann on 10.05.2022. | ||
* Copyright (c) 2022 Visisoft OHG. All rights reserved. | ||
*/ | ||
ramda.curry((key, ca) => map(ramda.prop(key), ca)); | ||
/** | ||
* StaticLand: sequence.js | ||
@@ -87,0 +96,0 @@ * |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -65,2 +65,11 @@ 'use strict'; | ||
/** | ||
* StaticLand: pluck.js | ||
* | ||
* Created by Matthias Seemann on 10.05.2022. | ||
* Copyright (c) 2022 Visisoft OHG. All rights reserved. | ||
*/ | ||
var pluck = ramda.curry((key, ca) => map(ramda.prop(key), ca)); | ||
/** | ||
* StaticLand: sequence.js | ||
@@ -194,2 +203,3 @@ * | ||
exports.of = of; | ||
exports.pluck = pluck; | ||
exports.reduce = reduce; | ||
@@ -196,0 +206,0 @@ exports.sequence = sequence; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -5,0 +5,0 @@ 'use strict'; |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -384,2 +384,11 @@ 'use strict'; | ||
/** | ||
* StaticLand: pluck.js | ||
* | ||
* Created by Matthias Seemann on 10.05.2022. | ||
* Copyright (c) 2022 Visisoft OHG. All rights reserved. | ||
*/ | ||
var pluck = ramda.curry((key, ca) => map(ramda.prop(key), ca)); | ||
/** | ||
* StaticLand: sequence.js | ||
@@ -518,2 +527,3 @@ * | ||
liftA2: liftA2$1, | ||
pluck: pluck, | ||
sequence: sequence, | ||
@@ -1512,3 +1522,3 @@ traverse: traverse | ||
// :: Cancelable c => k -> c {k: v} -> c v | ||
pluck = ramda.curry((key, mc) => map$2(ramda.prop(key), mc)); | ||
pluck$1 = ramda.curry((key, mc) => map$2(ramda.prop(key), mc)); | ||
@@ -1518,3 +1528,3 @@ var cancelable = /*#__PURE__*/Object.freeze({ | ||
map: map$2, | ||
pluck: pluck, | ||
pluck: pluck$1, | ||
of: of$3, | ||
@@ -1521,0 +1531,0 @@ reject: reject$1, |
/* @license Apache-2.0 | ||
@visisoft/staticland v.0.1.42 visisoft.de | ||
(Build date: 4/27/2022 - 5:20:07 PM) | ||
@visisoft/staticland v.0.1.43 visisoft.de | ||
(Build date: 5/10/2022 - 4:05:04 PM) | ||
*/ | ||
@@ -355,2 +355,11 @@ 'use strict'; | ||
/** | ||
* StaticLand: pluck.js | ||
* | ||
* Created by Matthias Seemann on 10.05.2022. | ||
* Copyright (c) 2022 Visisoft OHG. All rights reserved. | ||
*/ | ||
ramda.curry((key, ca) => map$1(ramda.prop(key), ca)); | ||
/** | ||
* StaticLand: sequence.js | ||
@@ -357,0 +366,0 @@ * |
import {BinaryCurriedFn, Opaque, PlainObjectOf, TernaryCurriedFn} from './common'; | ||
import {Either} from './either'; | ||
import {Cancelable} from "./cancelable"; | ||
@@ -42,2 +43,7 @@ export type Just<T> = Opaque<"Just", T>; | ||
export function pluck<T>(propertyName: string, mKv: Maybe<Record<string, T>>): Maybe<T>; | ||
export function pluck(propertyName: string): <T>(mKv: Maybe<Record<string, T>>) => Maybe<T>; | ||
export function pluck<T>(index: number, mKv: Maybe<[T]>): Maybe<T>; | ||
export function pluck(index: number): <T>(mKv: Maybe<[T]>) => Maybe<T>; | ||
export function chain<T, U>(factory: (x: T) => Maybe<U>, p: Maybe<T>) : Maybe<U>; | ||
@@ -44,0 +50,0 @@ export function chain<T, U>(factory: (x: T) => Maybe<U>): (p: Maybe<T>) => Maybe<U>; |
@@ -109,3 +109,3 @@ { | ||
"type": "module", | ||
"version": "0.1.42" | ||
"version": "0.1.43" | ||
} |
import {BinaryCurriedFn, Opaque, PlainObjectOf, TernaryCurriedFn} from './common'; | ||
import {Either} from './either'; | ||
import {Cancelable} from "./cancelable"; | ||
@@ -42,2 +43,7 @@ export type Just<T> = Opaque<"Just", T>; | ||
export function pluck<T>(propertyName: string, mKv: Maybe<Record<string, T>>): Maybe<T>; | ||
export function pluck(propertyName: string): <T>(mKv: Maybe<Record<string, T>>) => Maybe<T>; | ||
export function pluck<T>(index: number, mKv: Maybe<[T]>): Maybe<T>; | ||
export function pluck(index: number): <T>(mKv: Maybe<[T]>) => Maybe<T>; | ||
export function chain<T, U>(factory: (x: T) => Maybe<U>, p: Maybe<T>) : Maybe<U>; | ||
@@ -44,0 +50,0 @@ export function chain<T, U>(factory: (x: T) => Maybe<U>): (p: Maybe<T>) => Maybe<U>; |
@@ -121,3 +121,4 @@ /** | ||
export {default as liftA2} from './maybe/liftA2.js'; | ||
export {default as pluck} from './maybe/pluck.js'; | ||
export {default as sequence} from './maybe/sequence.js'; | ||
export {default as traverse} from './maybe/traverse.js'; |
211958
100
5575