~>(_:_:)

public func ~><Token, A, B>(lhs: Parser<Token, A>, rhs: @escaping @autoclosure () -> Parser<Token, B>) -> Parser<Token, B>

Sequential conjunction of two parsers while ignoring the result of lhs

  • Declaration

    Swift

    public func ~><Token, A, B>(lhs: Parser<Token, A>, rhs: @escaping @autoclosure () -> Parser<Token, B>) -> Parser<Token, B>