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

x/lambdapi/src/deps.ts>apply

Deno TypeScript implementation of LambdaPi interpreter from "A Tutorial Implementation of a Dependently Typed Lambda Calculus" https://www.andres-loeh.de/LambdaPi/
Latest
function apply
import { apply } from "https://deno.land/x/lambdapi@v1.0.1/src/deps.ts";

apply applies a higher-order parser to another parser.

Type Parameters

A
B
C extends (_: B) => any

Returns

Parser<A, C extends (_: B) => infer D ? D : never>