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

x/lambdapi/src/deps.ts>seq

Deno TypeScript implementation of LambdaPi interpreter from "A Tutorial Implementation of a Dependently Typed Lambda Calculus" https://www.andres-loeh.de/LambdaPi/
Latest
function seq
import { seq } from "https://deno.land/x/lambdapi@v1.0.1/src/deps.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>>