UNPKG

lean4-code-actions

Version:

Refactorings and snippets for Lean 4

11 lines (7 loc) 372 B
// ValidatorMessage must be the validator itself translated into the language that is understood by the initial executor import { impl } from './todo' export type SafeValidatorMessage = unknown export type SafeValidator<Val> = (value: Val) => Promise<SafeValidatorMessage[]> export async function validateInParallel<T>(validator: SafeValidator<T>[]) { throw impl() }