Ejemplo n.º 1
0
 public Reducer <Q, A> Reducer <Q>(Func <Q, A> unit) => Reducer <Q, A> .reducer(op, unit);
Ejemplo n.º 2
0
 public Reducer <Q, A> Reducer <Q>(Func <Q, A> unit)
 {
     return(Reducer <Q, A> .reducer(op, unit));
 }
Ejemplo n.º 3
0
        public Reducer <Q, Pair <A, B> > Pair <B>(Reducer <Q, B> s)
        {
            var t = this;

            return(Semigroup.Pair(s.Semigroup).Reducer <Q>(q => t.unit(q).And(s.unit(q))));
        }