Example #1
0
 public Union3 <A, B, C> Select <A, B, C>(Func <I0, A> f0, Func <I1, B> f1, Func <I2, C> f2) => Match(i0 => Union3 <A, B, C> .From0(f0(i0)), i1 => Union3 <A, B, C> .From1(f1(i1)), i2 => Union3 <A, B, C> .From2(f2(i2)));
Example #2
0
 public Union3 <II0, II1, II2> Map <II0, II1, II2>(Func <I0, II0> f0, Func <I1, II1> f1, Func <I2, II2> f2) =>
 Match(
     x => Union3 <II0, II1, II2> .From0(f0(x)),
     x => Union3 <II0, II1, II2> .From1(f1(x)),
     x => Union3 <II0, II1, II2> .From2(f2(x)));