Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

lazy

import { lazy } from "https://raw.githubusercontent.com/wavebeem/bread-n-butter/v0.6.0/src/bread-n-butter.ts";

Takes a lazily invoked callback that returns a parser, so you can create recursive parsers.

function lazy<A>(fn: () => Parser<A>): Parser<A>;
§
lazy<A>(fn: () => Parser<A>): Parser<A>
[src]

§Type Parameters

§Parameters

§
fn: () => Parser<A>
[src]

§Return Type