Esempio n. 1
0
        public static object Sum(IEnumerable seq)
        {
            var reducer = new ApplyWrapper2(Add);

            return(Reduce(reducer, seq));
        }
Esempio n. 2
0
        public static object Minimize(IEnumerable seq)
        {
            var reducer = new ApplyWrapper2(Min);

            return(Reduce(reducer, seq));
        }