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

x/applicative_parser/mod.ts>apply

parser combinators applicative TypeScript deno module
Latest
function apply
import { apply } from "https://deno.land/x/applicative_parser@1.0.23/mod.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>