예제 #1
0
 public Dist <R> SelectMany <S, R>(Func <T, Dist <S> > selector, Func <T, S, R> resultSelector)
 {
     return(Dist <T> .Bind(this, v => Dist <S> .Map(selector(v), u => resultSelector(v, u))));
 }
예제 #2
0
 public Dist <S> Select <S>(Func <T, S> selector)
 {
     return(Dist <T> .Map <S>(this, selector));
 }