Exemple #1
0
 public static Identity <B> Bind <A, B>(this Identity <A> ma, Func <A, Identity <B> > f)
 {
     return(IdentityMonad.Bind(ma, f));
 }
Exemple #2
0
 public static Identity <A> IdentityUnit <A>(this A a)
 {
     return(IdentityMonad.Unit(a));
 }