示例#1
0
 public static RWS <R, W, S, IO <U> > IO <R, W, S, T, U>(RWS <R, W, S, IO <T> > m, Func <T, U> liftFn)
     where S : class
 {
     return(from v in m select Lift.M(v, liftFn));
 }
示例#2
0
 public static State <S, IO <U> > IO <S, T, U>(State <S, IO <T> > m, Func <T, U> liftFn)
 {
     return(from v in m select Lift.M(v, liftFn));
 }
示例#3
0
 public static Writer <W, IO <U> > IO <W, T, U>(Writer <W, IO <T> > m, Func <T, U> liftFn)
 {
     return(from v in m select Lift.M(v, liftFn));
 }
示例#4
0
 public static Reader <E, IO <U> > IO <E, T, U>(Reader <E, IO <T> > m, Func <T, U> liftFn)
 {
     return(from v in m select Lift.M(v, liftFn));
 }
示例#5
0
 public static Try <IO <U> > IO <T, U>(Try <IO <T> > m, Func <T, U> liftFn)
 {
     return(from v in m select Lift.M(v, liftFn));
 }
示例#6
0
 public static Either <L, IO <U> > IO <R, L, U>(Either <L, IO <R> > m, Func <R, U> liftFn)
 {
     return(from v in m select Lift.M(v, liftFn));
 }