[racket-dev] syntax/syntax proposal
On 2012-06-15 15:09:15 -0600, Ryan Culpepper wrote:
> The 'stx-*' functions work on values that aren't syntax objects, so
> renaming them to 'syntax-*' would be misleading.
Is that really so misleading though? There is already precedent for
functions which take arguments not exactly matching their prefix.
`list-ref` works on non-`list?` things, for example.
Other examples include `syntax-local-module-exports`,
`syntax-local-make-delta-introducer`,
`syntax-local-module-required-identifiers`, and so on.
> 'syntax->list' already exists and means something different from
> 'stx->list'.
This could be `syntax-list->list` instead maybe.
Cheers,
Asumu