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