Exemple #1
0
 public static AbstractAction2 <Env, T1, T2, OutT> liftMaybe <T1, T2, OutT>(Func <Either <T1, T2>, Option <OutT> > f, bool threaded)
 {
     return(new KleisliAction2 <T1, T2, OutT>(KleisliUtils <Env> .liftMaybe <Either <T1, T2>, OutT>(f), threaded));
 }
Exemple #2
0
 public static AbstractAction <Env, T1, T2> liftMaybe <T1, T2>(Func <T1, Option <T2> > f, bool threaded)
 {
     return(new KleisliAction <T1, T2>(KleisliUtils <Env> .liftMaybe <T1, T2>(f), threaded));
 }