示例#1
0
 public static AbstractAction2 <Env, T1, T2, OutT> liftPure2 <T1, T2, OutT>(Func <Either <T1, T2>, OutT> f, bool threaded)
 {
     return(new KleisliAction2 <T1, T2, OutT>(KleisliUtils <Env> .liftPure <Either <T1, T2>, OutT>(f), threaded));
 }
示例#2
0
 public static AbstractAction <Env, T1, T2> liftMulti <T1, T2>(Func <T1, List <T2> > f, bool threaded)
 {
     return(new KleisliMultiAction <T1, T2>(KleisliUtils <Env> .liftPure <T1, List <T2> >(f), threaded));
 }