UNPKG

lean4-code-actions

Version:

Refactorings and snippets for Lean 4

8 lines (4 loc) 270 B
import { Call } from '../index' export type CallStr = Call<string, string[]> export const String$CallStr = ({ fun, args }: CallStr) => String$CallStr$spread(fun, args) export const String$CallStr$spread = (fun: string, args: string[]) => `${fun}(${args.join(', ')})`