Example #1
0
 public MaybeTC <TReturn> Apply <TReturn>(MaybeTC <Func <T, TReturn> > f)
 {
     if (f.IsSome)
     {
         return(this.FMap <TReturn>(f.ToSome().Value));
     }
     else
     {
         return(MaybeTC.None <TReturn>());
     }
 }
Example #2
0
 public override MaybeTC <TReturn> FMap <TReturn>(Func <T, TReturn> f)
 {
     return(MaybeTC.None <TReturn>());
 }
Example #3
0
 public override MaybeTC <TReturn> ComputeWith <TReturn>(Func <T, MaybeTC <TReturn> > f)
 {
     return(MaybeTC.None <TReturn>());
 }