Shared helper functions for Lisp evaluation.
Provides type error formatting and type description utilities.
Summary
Functions
Returns the definition-only-form hint for the first matching name, or nil.
Describes the type of a value for error messages.
Formats closure errors with helpful messages.
Generates a type error tuple for FunctionClauseError in builtins.
Functions
Returns the definition-only-form hint for the first matching name, or nil.
Accepts one name or a list of them, and answers nil for anything else so
callers projecting untrusted diagnostic detail need no shape check first.
Describes the type of a value for error messages.
Formats closure errors with helpful messages.
Generates a type error tuple for FunctionClauseError in builtins.