blob: fdaab41eac997175e582e92fa17b9f6fde3237e1 (
plain) (
blame)
1
2
3
4
5
6
7
|
import { Either } from 'fp-ts/Either';
declare type ParserResult<T> = [T, string];
declare type ParserError = [string, string];
declare type Parser<T> = (input: string) => Either<ParserError, ParserResult<T>>;
export declare const p_digit: Parser<string>;
export declare const many0: <T>(p: Parser<T>) => Parser<T[]>;
export {};
|