Exemple #1
0
 public NonEmptyListTC <TReturn> ComputeWith <TReturn>(Func <T, NonEmptyListTC <TReturn> > f)
 {
     return(NonEmptyListTC.Construct(this.SelectMany(v => f(v))));
 }
Exemple #2
0
 public NonEmptyListTC <TReturn> Apply <TReturn>(NonEmptyListTC <Func <T, TReturn> > f)
 {
     return(NonEmptyListTC.Construct(f.SelectMany(fElem => this.FMap(fElem))));
 }