Comparing version 0.0.2 to 0.0.3
@@ -53,2 +53,4 @@ export const | ||
push3 = (arr, a) => (arr.push(a), arr), | ||
flatten = arr => [].concat(...arr), | ||
@@ -86,3 +88,3 @@ | ||
hasIter(coll) ? | ||
go(lmap(f, coll), _ => [..._]) : | ||
all(lmap(f, coll)) : | ||
reduce( | ||
@@ -103,3 +105,3 @@ (res, [k, a]) => go(f(a), b => (res[k] = b, res)), | ||
hasIter(coll) ? | ||
go(lfilter(f, coll), _ => [..._]) : | ||
all(lfilter(f, coll)) : | ||
reduce( | ||
@@ -127,2 +129,4 @@ (res, [k, a]) => go(f(a), b => (b && (res[k] = b), res)), | ||
export const all = coll => reduce(push3, coll, []); | ||
export const | ||
@@ -129,0 +133,0 @@ uniqueBy = curry((f, coll) => { |
{ | ||
"name": "fxjs2", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Functional Extensions for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23697
123