Exemplo n.º 1
0
 public static void NothingRun <A>(this Maybe <A> maybe, Action action)
 {
     maybe.CataVoid(action, a => { });
 }
Exemplo n.º 2
0
 public static void JustRun <A>(this Maybe <A> maybe, Action <A> action)
 {
     maybe.CataVoid(() => { }, action);
 }