On this page:

1.10 Configuring Error Reporting🔗

 (require syntax/parse/report-config) package: base

Added in version of package base.

A parameter that determines parts error messages that are generated by syntax-parse for failed matches. When syntax-parse needs to report that a particular datum or literal identifier was expected, it consults the configuration in this parameter.

A configuration is a hash table with the following keys:


(report-configuration? v)  boolean?

  v : any/c
Checks whether v is an immutable hash table that maps each of the keys 'datum-to-what, 'datum-to-string 'identifier-to-what and 'identifier-to-string to a procedure that accepts one argument.