示例#1
0
 public static Option <T> filter <T>(Option <T> option, Func <T, bool> Some, Func <bool> None) =>
 option.Filter(Some, None);
示例#2
0
 public static Option <T> filter <T>(Option <T> option, Func <T, bool> pred) =>
 option.Filter(pred);