Alternation(pipe, either or)

A vertical bar in a pattern offering more than one way to fit. The branches are tried in the order written, so the first one that fits wins even when a later one is longer.

Back to the glossary