was.js

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 21  →  ?path2? @ 20
/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";
}