Example #1
0
        public static object Sum(IEnumerable seq)
        {
            var reducer = new ApplyWrapper2(Add);

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

            return(Reduce(reducer, seq));
        }