@@ -227,7 +227,7 @@ Elm.Native.Signal = function(elm) {
227 merges : merges,
227 merges : merges,
228 mergeEither : F2(mergeEither),
228 mergeEither : F2(mergeEither),
229 average : F2(average),
229 average : F2(average),
230− count : function(s) { return foldp(F2(function(x,y) { return x+y }), 0, s) },
230+ count : function(s) { return foldp(F2(function(_,c) { return c+1 }), 0, s) },
231 countIf : F2(function(pred,s) {
231 countIf : F2(function(pred,s) {
232 return foldp(F2(function(x,c){return pred(x) ? c+1 : c}), 0, s)}),
232 return foldp(F2(function(x,c){return pred(x) ? c+1 : c}), 0, s)}),
233 keepIf : F3(function(pred,base,sig) {
233 keepIf : F3(function(pred,base,sig) {