rem: ifilter: function (pred, seq) { /***  ifilter(pred, seq) --> elements of seq where pred(elem) is true  ***/ var m = MochiKit.Base; seq = MochiKit.Iter.iter(seq); if (pred == null) { pred = m.operator.truth; } return { repr: function () { return "ifilter(...)"; }, toString: m.forward("repr"), next: function () { while (true) { var rval = seq.next(); if (pred(rval)) { return rval; } }  return undefined; } } }, 
add: },ifilter:function(pred,seq){ var m=MochiKit.Base; seq=MochiKit.Iter.iter(seq); if(pred==null){ pred=m.operator.truth; } return {repr:function(){ return "ifilter(...)"; },toString:m.forward("repr"),next:function(){ while(true){ var rval=seq.next(); if(pred(rval)){ return rval; } } return undefined; }}; },ifilterfalse:function(pred,seq){ 
context:     ifilter: function (pred, seq) {        /***            ifilter(pred, seq) --> elements of seq where pred(elem) is true        ***/        var m = MochiKit.Base;        seq = MochiKit.Iter.iter(seq);        if (pred == null) {            pred = m.operator.truth;        }        return {            repr: function () { return "ifilter(...)"; },            toString: m.forward("repr"),            next: function () {                while (true) {                    var rval = seq.next();                    if (pred(rval)) {                        return rval;                    }                }                // mozilla warnings aren't too bright                return undefined;            }        }    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js