selectFirst<T> function

Failure<T> selectFirst<T>(
  1. Failure<T> first,
  2. Failure<T> second
)

Reports the first parse failure observed.

Implementation

Failure<T> selectFirst<T>(Failure<T> first, Failure<T> second) => first;