fp-pack 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -15
- package/dist/fp-pack.umd.js +1 -1
- package/dist/fp-pack.umd.js.map +1 -1
- package/dist/implement/async/pipeAsync.d.ts +11 -0
- package/dist/implement/async/pipeAsync.d.ts.map +1 -1
- package/dist/implement/async/pipeAsync.mjs.map +1 -1
- package/dist/implement/async/pipeAsyncSideEffect.d.ts +11 -0
- package/dist/implement/async/pipeAsyncSideEffect.d.ts.map +1 -1
- package/dist/implement/async/pipeAsyncSideEffect.mjs.map +1 -1
- package/dist/implement/composition/compose.d.ts +25 -9
- package/dist/implement/composition/compose.d.ts.map +1 -1
- package/dist/implement/composition/compose.mjs.map +1 -1
- package/dist/implement/composition/compose.type-test.d.ts +35 -0
- package/dist/implement/composition/compose.type-test.d.ts.map +1 -0
- package/dist/implement/composition/compose.util.type-test.d.ts +31 -0
- package/dist/implement/composition/compose.util.type-test.d.ts.map +1 -0
- package/dist/implement/composition/curry.d.ts +5 -5
- package/dist/implement/composition/curry.d.ts.map +1 -1
- package/dist/implement/composition/curry.mjs.map +1 -1
- package/dist/implement/composition/index.d.ts +4 -0
- package/dist/implement/composition/index.d.ts.map +1 -1
- package/dist/implement/composition/pipe.d.ts +3 -0
- package/dist/implement/composition/pipe.d.ts.map +1 -1
- package/dist/implement/composition/pipe.mjs.map +1 -1
- package/dist/implement/composition/pipe.type-test.d.ts +117 -1
- package/dist/implement/composition/pipe.type-test.d.ts.map +1 -1
- package/dist/implement/composition/pipe.util.type-test.d.ts +75 -0
- package/dist/implement/composition/pipe.util.type-test.d.ts.map +1 -0
- package/dist/implement/composition/sideEffect.d.ts +1 -1
- package/dist/implement/composition/sideEffect.d.ts.map +1 -1
- package/dist/implement/composition/sideEffect.mjs.map +1 -1
- package/dist/implement/composition/tap0.d.ts +6 -0
- package/dist/implement/composition/tap0.d.ts.map +1 -0
- package/dist/implement/composition/tap0.mjs +9 -0
- package/dist/implement/composition/tap0.mjs.map +1 -0
- package/dist/implement/object/assocPath.d.ts +2 -1
- package/dist/implement/object/assocPath.d.ts.map +1 -1
- package/dist/implement/object/assocPath.mjs.map +1 -1
- package/dist/implement/object/dissocPath.d.ts +2 -1
- package/dist/implement/object/dissocPath.d.ts.map +1 -1
- package/dist/implement/object/dissocPath.mjs.map +1 -1
- package/dist/implement/object/index.d.ts +1 -0
- package/dist/implement/object/index.d.ts.map +1 -1
- package/dist/implement/object/path.d.ts +4 -2
- package/dist/implement/object/path.d.ts.map +1 -1
- package/dist/implement/object/path.mjs.map +1 -1
- package/dist/implement/object/pathKey.d.ts +2 -0
- package/dist/implement/object/pathKey.d.ts.map +1 -0
- package/dist/implement/object/pathOr.d.ts +5 -3
- package/dist/implement/object/pathOr.d.ts.map +1 -1
- package/dist/implement/object/pathOr.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +230 -228
- package/dist/index.mjs.map +1 -1
- package/dist/skills/fp-pack/SKILL.md +19 -16
- package/dist/skills/fp-pack.md +19 -16
- package/dist/stream/index.d.ts +1 -0
- package/dist/stream/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/implement/async/pipeAsync.ts +71 -0
- package/src/implement/async/pipeAsyncSideEffect.ts +74 -0
- package/src/implement/composition/compose.test.ts +14 -0
- package/src/implement/composition/compose.ts +133 -21
- package/src/implement/composition/compose.type-test.ts +109 -0
- package/src/implement/composition/compose.util.type-test.ts +128 -0
- package/src/implement/composition/curry.ts +5 -5
- package/src/implement/composition/index.ts +4 -0
- package/src/implement/composition/pipe.ts +4 -0
- package/src/implement/composition/pipe.type-test.ts +269 -1
- package/src/implement/composition/pipe.util.type-test.ts +256 -0
- package/src/implement/composition/sideEffect.ts +1 -1
- package/src/implement/composition/tap0.test.ts +16 -0
- package/src/implement/composition/tap0.ts +10 -0
- package/src/implement/object/assocPath.ts +2 -2
- package/src/implement/object/dissocPath.ts +2 -2
- package/src/implement/object/index.ts +1 -0
- package/src/implement/object/path.ts +5 -3
- package/src/implement/object/pathKey.ts +1 -0
- package/src/implement/object/pathOr.ts +6 -4
- package/src/index.ts +3 -0
- package/src/stream/index.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/implement/object/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/implement/object/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { PathKey } from './pathKey';
|
|
1
2
|
type Path = {
|
|
2
|
-
(pathArray:
|
|
3
|
-
<T>(...args: [pathArray:
|
|
3
|
+
(pathArray: PathKey[]): <T>(obj: any) => T | undefined;
|
|
4
|
+
<T>(...args: [pathArray: PathKey[], obj: any]): T | undefined;
|
|
4
5
|
};
|
|
5
6
|
declare const curriedPath: Path;
|
|
6
7
|
export default curriedPath;
|
|
8
|
+
export type { PathKey };
|
|
7
9
|
//# sourceMappingURL=path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../src/implement/object/path.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../src/implement/object/path.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,KAAK,IAAI,GAAG;IACV,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,GAAG,SAAS,CAAC;IACvD,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;CAC/D,CAAC;AASF,QAAA,MAAM,WAAW,EAAkB,IAAI,CAAC;AACxC,eAAe,WAAW,CAAC;AAC3B,YAAY,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path.mjs","sources":["../../../src/implement/object/path.ts"],"sourcesContent":["import curry from '../composition/curry';\n\ntype Path = {\n (pathArray:
|
|
1
|
+
{"version":3,"file":"path.mjs","sources":["../../../src/implement/object/path.ts"],"sourcesContent":["import curry from '../composition/curry';\nimport type { PathKey } from './pathKey';\n\ntype Path = {\n (pathArray: PathKey[]): <T>(obj: any) => T | undefined;\n <T>(...args: [pathArray: PathKey[], obj: any]): T | undefined;\n};\n\n/**\n * path - 안전한 깊은 프로퍼티 접근\n */\nfunction path<T>(pathArray: PathKey[], obj: any): T | undefined {\n return pathArray.reduce((current, key) => (current == null ? undefined : current[key]), obj) as T | undefined;\n}\n\nconst curriedPath = curry(path) as Path;\nexport default curriedPath;\nexport type { PathKey };\n"],"names":["path","pathArray","obj","current","key","curriedPath","curry"],"mappings":";AAWA,SAASA,EAAQC,GAAsBC,GAAyB;AAC9D,SAAOD,EAAU,OAAO,CAACE,GAASC,MAAuCD,IAAQC,CAAG,GAAIF,CAAG;AAC7F;AAEA,MAAMG,IAAcC,EAAMN,CAAI;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pathKey.d.ts","sourceRoot":"","sources":["../../../src/implement/object/pathKey.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { PathKey } from './pathKey';
|
|
1
2
|
type PathOr = {
|
|
2
|
-
<D>(...args: [defaultValue: D]): <T>(pathArray:
|
|
3
|
-
<D>(...args: [defaultValue: D, pathArray:
|
|
4
|
-
<T, D>(...args: [defaultValue: D, pathArray:
|
|
3
|
+
<D>(...args: [defaultValue: D]): <T>(pathArray: PathKey[]) => (obj: any) => T | D;
|
|
4
|
+
<D>(...args: [defaultValue: D, pathArray: PathKey[]]): <T>(obj: any) => T | D;
|
|
5
|
+
<T, D>(...args: [defaultValue: D, pathArray: PathKey[], obj: any]): T | D;
|
|
5
6
|
};
|
|
6
7
|
declare const curriedPathOr: PathOr;
|
|
7
8
|
export default curriedPathOr;
|
|
9
|
+
export type { PathKey };
|
|
8
10
|
//# sourceMappingURL=pathOr.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pathOr.d.ts","sourceRoot":"","sources":["../../../src/implement/object/pathOr.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pathOr.d.ts","sourceRoot":"","sources":["../../../src/implement/object/pathOr.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,KAAK,MAAM,GAAG;IACZ,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,YAAY,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;IAClF,CAAC,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;IAC9E,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,YAAY,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CAC3E,CAAC;AAUF,QAAA,MAAM,aAAa,EAAoB,MAAM,CAAC;AAC9C,eAAe,aAAa,CAAC;AAC7B,YAAY,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pathOr.mjs","sources":["../../../src/implement/object/pathOr.ts"],"sourcesContent":["import curry from '../composition/curry';\n\ntype PathOr = {\n <D>(...args: [defaultValue: D]): <T>(pathArray:
|
|
1
|
+
{"version":3,"file":"pathOr.mjs","sources":["../../../src/implement/object/pathOr.ts"],"sourcesContent":["import curry from '../composition/curry';\nimport type { PathKey } from './pathKey';\n\ntype PathOr = {\n <D>(...args: [defaultValue: D]): <T>(pathArray: PathKey[]) => (obj: any) => T | D;\n <D>(...args: [defaultValue: D, pathArray: PathKey[]]): <T>(obj: any) => T | D;\n <T, D>(...args: [defaultValue: D, pathArray: PathKey[], obj: any]): T | D;\n};\n\n/**\n * pathOr - 기본값이 있는 깊은 프로퍼티 접근\n */\nfunction pathOr<T, D>(defaultValue: D, pathArray: PathKey[], obj: any): T | D {\n const value = pathArray.reduce((current, key) => (current == null ? undefined : current[key]), obj) as T | undefined;\n return value == null ? defaultValue : value;\n}\n\nconst curriedPathOr = curry(pathOr) as PathOr;\nexport default curriedPathOr;\nexport type { PathKey };\n"],"names":["pathOr","defaultValue","pathArray","obj","value","current","key","curriedPathOr","curry"],"mappings":";AAYA,SAASA,EAAaC,GAAiBC,GAAsBC,GAAiB;AAC5E,QAAMC,IAAQF,EAAU,OAAO,CAACG,GAASC,MAAuCD,IAAQC,CAAG,GAAIH,CAAG;AAClG,SAAOC,KAAgBH;AACzB;AAEA,MAAMM,IAAgBC,EAAMR,CAAM;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export * from './implement/string';
|
|
|
8
8
|
export * from './implement/async';
|
|
9
9
|
export * from './implement/nullable';
|
|
10
10
|
export * from './implement/debug';
|
|
11
|
+
export type { AnyIterable, AnyIterableInput, PromiseLikeValue } from './stream/utils';
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,gBAAgB,CAAC;AAGxB,cAAc,yBAAyB,CAAC;AAGxC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,gBAAgB,CAAC;AAGxB,cAAc,yBAAyB,CAAC;AAGxC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,mBAAmB,CAAC;AAGlC,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/index.mjs
CHANGED
|
@@ -10,246 +10,248 @@ import { default as g } from "./implement/composition/identity.mjs";
|
|
|
10
10
|
import { default as S } from "./implement/composition/constant.mjs";
|
|
11
11
|
import { default as v } from "./implement/composition/from.mjs";
|
|
12
12
|
import { default as z } from "./implement/composition/tap.mjs";
|
|
13
|
-
import { default as A } from "./implement/composition/
|
|
14
|
-
import { default as q } from "./implement/composition/
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { default as j } from "./implement/control/
|
|
18
|
-
import { default as R } from "./implement/control/
|
|
19
|
-
import { default as V } from "./implement/control/
|
|
20
|
-
import { default as G } from "./implement/control/
|
|
21
|
-
import { default as J } from "./implement/control/
|
|
22
|
-
import { default as Q } from "./implement/
|
|
23
|
-
import { default as Y } from "./implement/array/
|
|
24
|
-
import { default as _ } from "./implement/array/
|
|
25
|
-
import { default as ee } from "./implement/array/
|
|
26
|
-
import { default as ae } from "./implement/array/
|
|
27
|
-
import { default as oe } from "./implement/array/
|
|
28
|
-
import { default as pe } from "./implement/array/
|
|
29
|
-
import { default as le } from "./implement/array/
|
|
30
|
-
import { default as me } from "./implement/array/
|
|
31
|
-
import { default as xe } from "./implement/array/
|
|
32
|
-
import { default as ne } from "./implement/array/
|
|
33
|
-
import { default as he } from "./implement/array/
|
|
34
|
-
import { default as ge } from "./implement/array/
|
|
35
|
-
import { default as Se } from "./implement/array/
|
|
36
|
-
import { default as ve } from "./implement/array/
|
|
37
|
-
import { default as ze } from "./implement/array/
|
|
38
|
-
import { default as Ae } from "./implement/array/
|
|
39
|
-
import { default as qe } from "./implement/array/
|
|
40
|
-
import { default as Le } from "./implement/array/
|
|
41
|
-
import { default as we } from "./implement/array/
|
|
42
|
-
import { default as De } from "./implement/array/
|
|
43
|
-
import { default as Me } from "./implement/array/
|
|
44
|
-
import { default as je } from "./implement/array/
|
|
45
|
-
import { default as Re } from "./implement/array/
|
|
46
|
-
import { default as Ve } from "./implement/array/
|
|
47
|
-
import { default as Ge } from "./implement/array/
|
|
48
|
-
import { default as Je } from "./implement/array/
|
|
49
|
-
import { default as Qe } from "./implement/array/
|
|
50
|
-
import { default as Ye } from "./implement/array/
|
|
51
|
-
import { default as _e } from "./implement/array/
|
|
52
|
-
import { default as et } from "./implement/array/
|
|
53
|
-
import { default as at } from "./implement/array/
|
|
54
|
-
import { default as ot } from "./implement/array/
|
|
55
|
-
import { default as pt } from "./implement/
|
|
56
|
-
import { default as lt } from "./implement/object/
|
|
57
|
-
import { default as mt } from "./implement/object/
|
|
58
|
-
import { default as xt } from "./implement/object/
|
|
59
|
-
import { default as nt } from "./implement/object/
|
|
60
|
-
import { default as ht } from "./implement/object/
|
|
61
|
-
import { default as gt } from "./implement/object/
|
|
62
|
-
import { default as St } from "./implement/object/
|
|
63
|
-
import { default as vt } from "./implement/object/
|
|
64
|
-
import { default as zt } from "./implement/object/
|
|
65
|
-
import { default as At } from "./implement/object/
|
|
66
|
-
import { default as qt } from "./implement/object/
|
|
67
|
-
import { default as Lt } from "./implement/object/
|
|
68
|
-
import { default as wt } from "./implement/object/
|
|
69
|
-
import { default as Dt } from "./implement/object/
|
|
70
|
-
import { default as Mt } from "./implement/object/
|
|
71
|
-
import { default as jt } from "./implement/object/
|
|
72
|
-
import { default as Rt } from "./implement/object/
|
|
73
|
-
import { default as Vt } from "./implement/object/
|
|
74
|
-
import { default as Gt } from "./implement/object/
|
|
75
|
-
import { default as Jt } from "./implement/object/
|
|
76
|
-
import { default as Qt } from "./implement/
|
|
77
|
-
import { default as Yt } from "./implement/equality/
|
|
78
|
-
import { default as _t } from "./implement/equality/
|
|
79
|
-
import { default as ea } from "./implement/equality/
|
|
80
|
-
import { default as aa } from "./implement/equality/
|
|
81
|
-
import { default as oa } from "./implement/equality/
|
|
82
|
-
import { default as pa } from "./implement/equality/
|
|
83
|
-
import { default as la } from "./implement/equality/
|
|
84
|
-
import { default as ma } from "./implement/
|
|
85
|
-
import { default as xa } from "./implement/math/
|
|
86
|
-
import { default as na } from "./implement/math/
|
|
87
|
-
import { default as ha } from "./implement/math/
|
|
88
|
-
import { default as ga } from "./implement/math/
|
|
89
|
-
import { default as Sa } from "./implement/math/
|
|
90
|
-
import { default as va } from "./implement/math/
|
|
91
|
-
import { default as za } from "./implement/
|
|
92
|
-
import { default as Aa } from "./implement/string/
|
|
93
|
-
import { default as qa } from "./implement/string/
|
|
94
|
-
import { default as La } from "./implement/string/
|
|
95
|
-
import { default as wa } from "./implement/string/
|
|
96
|
-
import { default as Da } from "./implement/
|
|
97
|
-
import { default as Ma } from "./implement/async/
|
|
98
|
-
import { default as ja } from "./implement/async/
|
|
99
|
-
import { default as Ra } from "./implement/async/
|
|
100
|
-
import { default as Va } from "./implement/async/
|
|
101
|
-
import { default as Ga } from "./implement/async/
|
|
102
|
-
import { default as Ja } from "./implement/async/
|
|
103
|
-
import { default as Qa } from "./implement/async/
|
|
104
|
-
import { default as Ya } from "./implement/async/
|
|
105
|
-
import { default as _a } from "./implement/async/
|
|
106
|
-
import { default as er } from "./implement/
|
|
107
|
-
import { default as ar } from "./implement/nullable/
|
|
108
|
-
import { default as or } from "./implement/nullable/
|
|
109
|
-
import { default as pr } from "./implement/nullable/
|
|
110
|
-
import { default as lr } from "./implement/nullable/
|
|
111
|
-
import { default as mr } from "./implement/
|
|
112
|
-
import { default as xr } from "./implement/
|
|
113
|
-
import { default as nr } from "./implement/equality/
|
|
114
|
-
import { default as hr } from "./implement/
|
|
115
|
-
import { default as gr } from "./implement/math/
|
|
116
|
-
import { default as Sr } from "./implement/math/
|
|
117
|
-
import { default as vr } from "./implement/math/
|
|
118
|
-
import { default as zr } from "./implement/math/
|
|
119
|
-
import { default as Ar } from "./implement/
|
|
120
|
-
import { default as qr } from "./implement/string/
|
|
121
|
-
import { default as Lr } from "./implement/string/
|
|
122
|
-
import { default as wr } from "./implement/string/
|
|
123
|
-
import { default as Dr } from "./implement/
|
|
124
|
-
import { default as Mr } from "./implement/debug/
|
|
13
|
+
import { default as A } from "./implement/composition/tap0.mjs";
|
|
14
|
+
import { default as q } from "./implement/composition/once.mjs";
|
|
15
|
+
import { default as L } from "./implement/composition/memoize.mjs";
|
|
16
|
+
import { SideEffect as w, SideEffect as C, isSideEffect as D, matchSideEffect as I, runPipeResult as M } from "./implement/composition/sideEffect.mjs";
|
|
17
|
+
import { default as j } from "./implement/control/ifElse.mjs";
|
|
18
|
+
import { default as R } from "./implement/control/when.mjs";
|
|
19
|
+
import { default as V } from "./implement/control/unless.mjs";
|
|
20
|
+
import { default as G } from "./implement/control/cond.mjs";
|
|
21
|
+
import { default as J } from "./implement/control/tryCatch.mjs";
|
|
22
|
+
import { default as Q } from "./implement/control/guard.mjs";
|
|
23
|
+
import { default as Y } from "./implement/array/map.mjs";
|
|
24
|
+
import { default as _ } from "./implement/array/filter.mjs";
|
|
25
|
+
import { default as ee } from "./implement/array/reduce.mjs";
|
|
26
|
+
import { default as ae } from "./implement/array/flatMap.mjs";
|
|
27
|
+
import { default as oe } from "./implement/array/find.mjs";
|
|
28
|
+
import { default as pe } from "./implement/array/some.mjs";
|
|
29
|
+
import { default as le } from "./implement/array/every.mjs";
|
|
30
|
+
import { default as me } from "./implement/array/take.mjs";
|
|
31
|
+
import { default as xe } from "./implement/array/drop.mjs";
|
|
32
|
+
import { default as ne } from "./implement/array/dropWhile.mjs";
|
|
33
|
+
import { default as he } from "./implement/array/chunk.mjs";
|
|
34
|
+
import { default as ge } from "./implement/array/zip.mjs";
|
|
35
|
+
import { default as Se } from "./implement/array/zipWith.mjs";
|
|
36
|
+
import { default as ve } from "./implement/array/unzip.mjs";
|
|
37
|
+
import { default as ze } from "./implement/array/uniq.mjs";
|
|
38
|
+
import { default as Ae } from "./implement/array/uniqBy.mjs";
|
|
39
|
+
import { default as qe } from "./implement/array/sortBy.mjs";
|
|
40
|
+
import { default as Le } from "./implement/array/sort.mjs";
|
|
41
|
+
import { default as we } from "./implement/array/groupBy.mjs";
|
|
42
|
+
import { default as De } from "./implement/array/zipIndex.mjs";
|
|
43
|
+
import { default as Me } from "./implement/array/takeWhile.mjs";
|
|
44
|
+
import { default as je } from "./implement/array/scan.mjs";
|
|
45
|
+
import { default as Re } from "./implement/array/concat.mjs";
|
|
46
|
+
import { default as Ve } from "./implement/array/append.mjs";
|
|
47
|
+
import { default as Ge } from "./implement/array/prepend.mjs";
|
|
48
|
+
import { default as Je } from "./implement/array/flatten.mjs";
|
|
49
|
+
import { default as Qe } from "./implement/array/head.mjs";
|
|
50
|
+
import { default as Ye } from "./implement/array/tail.mjs";
|
|
51
|
+
import { default as _e } from "./implement/array/last.mjs";
|
|
52
|
+
import { default as et } from "./implement/array/init.mjs";
|
|
53
|
+
import { default as at } from "./implement/array/range.mjs";
|
|
54
|
+
import { default as ot } from "./implement/array/partition.mjs";
|
|
55
|
+
import { default as pt } from "./implement/array/flattenDeep.mjs";
|
|
56
|
+
import { default as lt } from "./implement/object/prop.mjs";
|
|
57
|
+
import { default as mt } from "./implement/object/propStrict.mjs";
|
|
58
|
+
import { default as xt } from "./implement/object/propOr.mjs";
|
|
59
|
+
import { default as nt } from "./implement/object/path.mjs";
|
|
60
|
+
import { default as ht } from "./implement/object/pathOr.mjs";
|
|
61
|
+
import { default as gt } from "./implement/object/pick.mjs";
|
|
62
|
+
import { default as St } from "./implement/object/omit.mjs";
|
|
63
|
+
import { default as vt } from "./implement/object/assoc.mjs";
|
|
64
|
+
import { default as zt } from "./implement/object/assocPath.mjs";
|
|
65
|
+
import { default as At } from "./implement/object/dissoc.mjs";
|
|
66
|
+
import { default as qt } from "./implement/object/dissocPath.mjs";
|
|
67
|
+
import { default as Lt } from "./implement/object/merge.mjs";
|
|
68
|
+
import { default as wt } from "./implement/object/mergeDeep.mjs";
|
|
69
|
+
import { default as Dt } from "./implement/object/mergeAll.mjs";
|
|
70
|
+
import { default as Mt } from "./implement/object/keys.mjs";
|
|
71
|
+
import { default as jt } from "./implement/object/values.mjs";
|
|
72
|
+
import { default as Rt } from "./implement/object/entries.mjs";
|
|
73
|
+
import { default as Vt } from "./implement/object/mapValues.mjs";
|
|
74
|
+
import { default as Gt } from "./implement/object/evolve.mjs";
|
|
75
|
+
import { default as Jt } from "./implement/object/has.mjs";
|
|
76
|
+
import { default as Qt } from "./implement/object/hasPath.mjs";
|
|
77
|
+
import { default as Yt } from "./implement/equality/isNil.mjs";
|
|
78
|
+
import { default as _t } from "./implement/equality/isEmpty.mjs";
|
|
79
|
+
import { default as ea } from "./implement/equality/isType.mjs";
|
|
80
|
+
import { default as aa } from "./implement/equality/gt.mjs";
|
|
81
|
+
import { default as oa } from "./implement/equality/gte.mjs";
|
|
82
|
+
import { default as pa } from "./implement/equality/lt.mjs";
|
|
83
|
+
import { default as la } from "./implement/equality/lte.mjs";
|
|
84
|
+
import { default as ma } from "./implement/equality/includes.mjs";
|
|
85
|
+
import { default as xa } from "./implement/math/sum.mjs";
|
|
86
|
+
import { default as na } from "./implement/math/mean.mjs";
|
|
87
|
+
import { default as ha } from "./implement/math/min.mjs";
|
|
88
|
+
import { default as ga } from "./implement/math/max.mjs";
|
|
89
|
+
import { default as Sa } from "./implement/math/round.mjs";
|
|
90
|
+
import { default as va } from "./implement/math/floor.mjs";
|
|
91
|
+
import { default as za } from "./implement/math/ceil.mjs";
|
|
92
|
+
import { default as Aa } from "./implement/string/trim.mjs";
|
|
93
|
+
import { default as qa } from "./implement/string/toUpper.mjs";
|
|
94
|
+
import { default as La } from "./implement/string/toLower.mjs";
|
|
95
|
+
import { default as wa } from "./implement/string/startsWith.mjs";
|
|
96
|
+
import { default as Da } from "./implement/string/endsWith.mjs";
|
|
97
|
+
import { default as Ma } from "./implement/async/pipeAsync.mjs";
|
|
98
|
+
import { default as ja } from "./implement/async/pipeAsyncSideEffect.mjs";
|
|
99
|
+
import { default as Ra } from "./implement/async/pipeAsyncSideEffectStrict.mjs";
|
|
100
|
+
import { default as Va } from "./implement/async/delay.mjs";
|
|
101
|
+
import { default as Ga } from "./implement/async/timeout.mjs";
|
|
102
|
+
import { default as Ja } from "./implement/async/retry.mjs";
|
|
103
|
+
import { default as Qa } from "./implement/async/debounce.mjs";
|
|
104
|
+
import { default as Ya } from "./implement/async/debounceLeading.mjs";
|
|
105
|
+
import { default as _a } from "./implement/async/debounceLeadingTrailing.mjs";
|
|
106
|
+
import { default as er } from "./implement/async/throttle.mjs";
|
|
107
|
+
import { default as ar } from "./implement/nullable/maybe.mjs";
|
|
108
|
+
import { default as or } from "./implement/nullable/mapMaybe.mjs";
|
|
109
|
+
import { default as pr } from "./implement/nullable/getOrElse.mjs";
|
|
110
|
+
import { default as lr } from "./implement/nullable/result.mjs";
|
|
111
|
+
import { default as mr } from "./implement/nullable/fold.mjs";
|
|
112
|
+
import { default as xr } from "./implement/debug/log.mjs";
|
|
113
|
+
import { default as nr } from "./implement/equality/equals.mjs";
|
|
114
|
+
import { default as hr } from "./implement/equality/clamp.mjs";
|
|
115
|
+
import { default as gr } from "./implement/math/add.mjs";
|
|
116
|
+
import { default as Sr } from "./implement/math/sub.mjs";
|
|
117
|
+
import { default as vr } from "./implement/math/mul.mjs";
|
|
118
|
+
import { default as zr } from "./implement/math/div.mjs";
|
|
119
|
+
import { default as Ar } from "./implement/math/randomInt.mjs";
|
|
120
|
+
import { default as qr } from "./implement/string/split.mjs";
|
|
121
|
+
import { default as Lr } from "./implement/string/join.mjs";
|
|
122
|
+
import { default as wr } from "./implement/string/replace.mjs";
|
|
123
|
+
import { default as Dr } from "./implement/string/match.mjs";
|
|
124
|
+
import { default as Mr } from "./implement/debug/assert.mjs";
|
|
125
|
+
import { default as jr } from "./implement/debug/invariant.mjs";
|
|
125
126
|
export {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
127
|
+
w as SideEffect,
|
|
128
|
+
C as SideEffectClass,
|
|
129
|
+
gr as add,
|
|
130
|
+
Ve as append,
|
|
131
|
+
Mr as assert,
|
|
132
|
+
vt as assoc,
|
|
133
|
+
zt as assocPath,
|
|
134
|
+
za as ceil,
|
|
135
|
+
he as chunk,
|
|
136
|
+
hr as clamp,
|
|
136
137
|
h as complement,
|
|
137
138
|
l as compose,
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
Re as concat,
|
|
140
|
+
G as cond,
|
|
140
141
|
S as constant,
|
|
141
142
|
m as curry,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
143
|
+
Qa as debounce,
|
|
144
|
+
Ya as debounceLeading,
|
|
145
|
+
_a as debounceLeadingTrailing,
|
|
146
|
+
Va as delay,
|
|
147
|
+
At as dissoc,
|
|
148
|
+
qt as dissocPath,
|
|
149
|
+
zr as div,
|
|
150
|
+
xe as drop,
|
|
151
|
+
ne as dropWhile,
|
|
152
|
+
Da as endsWith,
|
|
153
|
+
Rt as entries,
|
|
154
|
+
nr as equals,
|
|
155
|
+
le as every,
|
|
156
|
+
Gt as evolve,
|
|
157
|
+
_ as filter,
|
|
158
|
+
oe as find,
|
|
159
|
+
ae as flatMap,
|
|
160
|
+
Je as flatten,
|
|
161
|
+
pt as flattenDeep,
|
|
161
162
|
n as flip,
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
va as floor,
|
|
164
|
+
mr as fold,
|
|
164
165
|
v as from,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
166
|
+
pr as getOrElse,
|
|
167
|
+
we as groupBy,
|
|
168
|
+
aa as gt,
|
|
169
|
+
oa as gte,
|
|
170
|
+
Q as guard,
|
|
171
|
+
Jt as has,
|
|
172
|
+
Qt as hasPath,
|
|
173
|
+
Qe as head,
|
|
173
174
|
g as identity,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
175
|
+
j as ifElse,
|
|
176
|
+
ma as includes,
|
|
177
|
+
et as init,
|
|
178
|
+
jr as invariant,
|
|
179
|
+
_t as isEmpty,
|
|
180
|
+
Yt as isNil,
|
|
181
|
+
D as isSideEffect,
|
|
182
|
+
ea as isType,
|
|
183
|
+
Lr as join,
|
|
184
|
+
Mt as keys,
|
|
185
|
+
_e as last,
|
|
186
|
+
xr as log,
|
|
187
|
+
pa as lt,
|
|
188
|
+
la as lte,
|
|
189
|
+
Y as map,
|
|
190
|
+
or as mapMaybe,
|
|
191
|
+
Vt as mapValues,
|
|
192
|
+
Dr as match,
|
|
193
|
+
I as matchSideEffect,
|
|
194
|
+
ga as max,
|
|
195
|
+
ar as maybe,
|
|
196
|
+
na as mean,
|
|
197
|
+
L as memoize,
|
|
198
|
+
Lt as merge,
|
|
199
|
+
Dt as mergeAll,
|
|
200
|
+
wt as mergeDeep,
|
|
201
|
+
ha as min,
|
|
202
|
+
vr as mul,
|
|
203
|
+
St as omit,
|
|
204
|
+
q as once,
|
|
204
205
|
x as partial,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
ot as partition,
|
|
207
|
+
nt as path,
|
|
208
|
+
ht as pathOr,
|
|
209
|
+
gt as pick,
|
|
209
210
|
a as pipe,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
Ma as pipeAsync,
|
|
212
|
+
ja as pipeAsyncSideEffect,
|
|
213
|
+
Ra as pipeAsyncSideEffectStrict,
|
|
213
214
|
o as pipeSideEffect,
|
|
214
215
|
p as pipeSideEffectStrict,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
216
|
+
Ge as prepend,
|
|
217
|
+
lt as prop,
|
|
218
|
+
xt as propOr,
|
|
219
|
+
mt as propStrict,
|
|
220
|
+
Ar as randomInt,
|
|
221
|
+
at as range,
|
|
222
|
+
ee as reduce,
|
|
223
|
+
wr as replace,
|
|
224
|
+
lr as result,
|
|
225
|
+
Ja as retry,
|
|
226
|
+
Sa as round,
|
|
227
|
+
M as runPipeResult,
|
|
228
|
+
je as scan,
|
|
229
|
+
pe as some,
|
|
230
|
+
Le as sort,
|
|
231
|
+
qe as sortBy,
|
|
232
|
+
qr as split,
|
|
233
|
+
wa as startsWith,
|
|
234
|
+
Sr as sub,
|
|
235
|
+
xa as sum,
|
|
236
|
+
Ye as tail,
|
|
237
|
+
me as take,
|
|
238
|
+
Me as takeWhile,
|
|
238
239
|
z as tap,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
ze as
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
240
|
+
A as tap0,
|
|
241
|
+
er as throttle,
|
|
242
|
+
Ga as timeout,
|
|
243
|
+
La as toLower,
|
|
244
|
+
qa as toUpper,
|
|
245
|
+
Aa as trim,
|
|
246
|
+
J as tryCatch,
|
|
247
|
+
ze as uniq,
|
|
248
|
+
Ae as uniqBy,
|
|
249
|
+
V as unless,
|
|
250
|
+
ve as unzip,
|
|
251
|
+
jt as values,
|
|
252
|
+
R as when,
|
|
253
|
+
ge as zip,
|
|
254
|
+
De as zipIndex,
|
|
255
|
+
Se as zipWith
|
|
254
256
|
};
|
|
255
257
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|