Skip to content

•(lhs:rhs:)

kareman edited this page Aug 13, 2020 · 3 revisions

•(lhs:rhs:)

@inlinable public func <Input>(lhs: AndPattern<OneOf<Input>>, rhs: OneOf<Input>) -> OneOf<Input>

•(lhs:rhs:)

@inlinable public func <P: Pattern>(lhs: Concat<P, AndPattern<OneOf<P.Input>>>, rhs: OneOf<P.Input>) -> Concat<P, OneOf<P.Input>>

•(lhs:rhs:)

@inlinable public func <Input>(lhs: NotPattern<OneOf<Input>>, rhs: OneOf<Input>) -> OneOf<Input>

•(lhs:rhs:)

@inlinable public func <P: Pattern>(lhs: Concat<P, NotPattern<OneOf<P.Input>>>, rhs: OneOf<P.Input>) -> Concat<P, OneOf<P.Input>>

•(lhs:rhs:)

First tries the pattern to the left, if that succeeds it tries the pattern to the right.

@inlinable public func <Left, Right>(lhs: Left, rhs: Right) -> Concat<Left, Right> where Left.Input == Right.Input

•(lhs:rhs:)

First tries the pattern to the left, if that succeeds it tries the pattern to the right.

@inlinable public func <Right: Pattern>(lhs: Literal<Right.Input>, rhs: Right) -> Concat<Literal<Right.Input>, Right>

•(lhs:rhs:)

First tries the pattern to the left, if that succeeds it tries the pattern to the right.

@inlinable public func <Left: Pattern>(lhs: Left, rhs: Literal<Left.Input>) -> Concat<Left, Literal<Left.Input>>

•(lhs:rhs:)

First tries the pattern to the left, if that succeeds it tries the pattern to the right.

@inlinable public func <Input>(lhs: Literal<Input>, rhs: Literal<Input>) -> Concat<Literal<Input>, Literal<Input>>
Clone this wiki locally