pareto-fountain-pen
Version:
A TypeScript library for easily generating source code files with proper indentation in the pareto programming style/language
12 lines (11 loc) • 730 B
TypeScript
import * as pt from 'exupery-core-types';
export type Location_to_String<Source> = ($: Source) => string;
export type _T_Location_2_String<Source> = Location_to_String<Source>;
export type Non_Circular_Result<T> = ['error', ['circular', pt.Array<string>]] | ['resolved', T];
export type Acyclic_Lookup<T> = pt.Optional_Value<pt.Lookup<Non_Circular_Result<T>>>;
export type _T_Acyclic_Lookup<T> = Acyclic_Lookup<T>;
export type Possibly_Circular_Result<T> = pt.Computed_Value<T>;
export type Cyclic_Lookup<T> = pt.Optional_Value<pt.Lookup<Possibly_Circular_Result<T>>>;
export type _T_Cyclic_Lookup<T> = Cyclic_Lookup<T>;
export type Lookup_Stack<T> = pt.Array<Acyclic_Lookup<T>>;
export type _T_Lookup_Stack<T> = Lookup_Stack<T>;