Comparing version 3.1.0 to 3.2.0
@@ -35,9 +35,3 @@ // A functional placeholder. | ||
// Add two numbers together. | ||
const add = curry((a, b) => a + b); | ||
// Multiply two numbers together. | ||
const multiply = curry((a, b) => a * b); | ||
module.exports = { | ||
@@ -49,4 +43,2 @@ __, | ||
pipe, | ||
add, | ||
multiply, | ||
}; |
{ | ||
"name": "zoomjs", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Helpful abstractions for functional programming in javascript.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -113,3 +113,7 @@ const FL = require('fantasy-land'); | ||
// combine :: [Validation a b] -> Validation a b | ||
Validation.combine = list => | ||
list.reduce(Validation.concat, Validation.empty()); | ||
/* | ||
@@ -116,0 +120,0 @@ |------------------------------------------------------------------------------ |
51613
1401