was.js

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 20  →  ?path2? @ 21
/trunk/lib/lambda/aggregators.js
@@ -54,7 +54,7 @@
}
});
// Node.JS
exports.switch = function(q, d, ...c) {
module.exports.switch = function(q, d, ...c) {
if(c.length % 2 !== 0) {
throw "Pairs of predicates expected for cases";
}