was.js
/trunk/lib/lambda/aggregators.js |
---|
@@ -54,7 +54,7 @@ |
} |
}); |
// Node.JS |
module.exports.switch = function(q, d, ...c) { |
exports.switch = function(q, d, ...c) { |
if(c.length % 2 !== 0) { |
throw "Pairs of predicates expected for cases"; |
} |
/trunk/lib/lambda/aggregators.js |
---|
@@ -54,7 +54,7 @@ |
} |
}); |
// Node.JS |
module.exports.switch = function(q, d, ...c) { |
exports.switch = function(q, d, ...c) { |
if(c.length % 2 !== 0) { |
throw "Pairs of predicates expected for cases"; |
} |