skipThen<B> method

Parser<E, B> skipThen<B>(
  1. Parser<E, B> other
)

Run this parser then other, keeping only the right result.

Implementation

Parser<E, B> skipThen<B>(Parser<E, B> other) =>
    Zip<E, A, B>(this, other).map((pair) => pair.$2);