예제 #1
0
 public static Fin <B> bind <A, B>(Fin <A> ma, Func <A, Fin <B> > f) =>
 ma.Bind(f);
예제 #2
0
 public static Fin <Fin <B> > Traverse <A, B>(this Fin <Fin <A> > ma, Func <A, B> f) =>
 ma.Bind(a => a.Map(f));
예제 #3
0
 public static Fin <R> flatten <R>(Fin <Fin <R> > ma) =>
 ma.Bind(identity);