clojure.lang.ArraySeq.reduce C# (CSharp) Метод

reduce() публичный Метод

public reduce ( IFn f ) : object
f IFn
Результат object
        public object reduce(IFn f)
        {
            if (_oa != null)
            {
                object ret = _oa[_i];
                for (int x = _i + 1; x < _oa.Length; x++)
                    ret = f.invoke(ret, _oa[x]);
                return ret;
            }
            object ret1 = _ilist[_i];    // JAVA 1112 wraps in RT.prepRet
            for (int x = _i + 1; x < _ilist.Count; x++)
                ret1 = f.invoke(ret1, _ilist[x]);       // JAVA 1112 wraps in RT.prepRet
            return ret1;
        }

Same methods

ArraySeq::reduce ( IFn f, object start ) : object