@epistemology-factory/crocks-ext
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -5,2 +5,3 @@ "use strict"; | ||
const composeK = require("crocks/helpers/composeK"); | ||
const concat = require("crocks/pointfree/concat"); | ||
const flip = require("crocks/combinators/flip"); | ||
@@ -13,2 +14,4 @@ const identity = require("crocks/combinators/identity"); | ||
const prepend = flip(concat); | ||
/* | ||
@@ -34,5 +37,18 @@ * While `map` is very handy in that it will take a function and apply it to a value, what | ||
/* | ||
* Collects the arguments to a function into an array | ||
*/ | ||
// zipArgs :: * -> [ * ] | ||
const zipArgs = function() { | ||
/* | ||
* Can't be an arrow function because of the way Node args work. | ||
*/ | ||
return Array.prototype.slice.call(arguments) | ||
} | ||
module.exports = { | ||
applyFunctor, | ||
chainLiftA2 | ||
chainLiftA2, | ||
prepend, | ||
zipArgs | ||
} |
{ | ||
"name": "@epistemology-factory/crocks-ext", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Utility functions for use with Crocks", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
7789
8
170