public T Accept <T>(ChurchBooleanVisitor <T> visitor) { return(x.Accept( new ChurchBooleanVisitor <T>( y.Accept(visitor), visitor.VisitFalse))); }
public T Accept <T>(ChurchBooleanVisitor <T> visitor) { return(x.Accept( new ChurchBooleanVisitor <T>( visitor.VisitTrue, y.Accept(visitor)))); }
public T Accept <T>(ChurchBooleanVisitor <T> visitor) { return(b.Accept( new ChurchBooleanVisitor <T>( trueCase: visitor.VisitFalse, falseCase: visitor.VisitTrue))); }
public static bool ToBool(this IChurchBoolean b) => b.Accept(new ChurchBooleanVisitor <bool>(true, false));
public T Accept <T>(ChurchBooleanVisitor <T> visitor) => _x.Accept( new ChurchBooleanVisitor <T>( visitor.VisitTrue, _y.Accept(visitor)));
public T Accept <T>(ChurchBooleanVisitor <T> visitor) => _x.Accept( new ChurchBooleanVisitor <T>( _y.Accept(visitor), visitor.VisitFalse));