Type Alias Rule<E, R>

Rule<in E, out R>: {
    run: ((src: readonly E[]) => ((pos: number) => Result<R>));
    let<T>(cont: ((value: Rule<E, R>) => T)): T;
}

Type Parameters

  • in E
  • out R