예제 #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);