Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/applicative_parser/parser.ts>seq

parser combinators applicative TypeScript deno module
Latest
function seq
import { seq } from "https://deno.land/x/applicative_parser@1.0.23/parser.ts";

seq applies each parser in sequence and returns a tuple of their results if they all succeed, or fails if any fail.

Type Parameters

T extends Parser<any, any>[]

Parameters

...parsers: T

Returns

Parser<UnwrapArg<T>, UnwrapParsers<T>>