示例#1
0
 public T Match <T>(T trueCase, T falseCase)
 => b.Match(falseCase, trueCase);
示例#2
0
 public T Match <T>(T trueCase, T falseCase)
 {
     return(b.Match(falseCase, trueCase));
 }
示例#3
0
 public T Match <T>(T trueCase, T falseCase)
 {
     return(x.Match(trueCase, y.Match(trueCase, falseCase)));
 }
示例#4
0
 public static bool ToBool(this IChurchBoolean b)
 {
     return(b.Match(true, false));
 }
示例#5
0
 public T Match <T>(T trueCase, T falseCase)
 => x.Match(trueCase, y.Match(trueCase, falseCase));
示例#6
0
 public static bool ToBool(this IChurchBoolean b)
 => b.Match(true, false);