Exemple #1
0
 public static Future <Future <A> > CoJoin <A>(this Future <A> fa)
 {
     return(Now(fa));
 }
Exemple #2
0
 public static A CoPure <A>(this Future <A> fa)
 {
     return(fa.Run());
 }
Exemple #3
0
 public static Future <B> CoBind <A, B>(this Future <A> fa, Func <Future <A>, B> f)
 {
     return(Now(f(fa)));
 }
Exemple #4
0
 public static Future <A> Strategy <A>(Future <A> fa, IStrategy s)
 {
     return(new Future <A>(fa.Callback, s));
 }