-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename quote & friends to #%quote? #191
Comments
Btw @david-christiansen , is there a specific reason why users are forbidden from defining their own identifiers starting with |
The reason is that they represent hooks that are used to allow user interpolation of operators into a context that is not otherwise syntactically marked. Otherwise, the variable naming system can be used to override the meanings of named operators (e.g. The reason to not allow other |
Thanks for the explanation, the part about avoiding typos makes a lot of sense. I now see that identifiers have three levels of discoverability:
It thus seems useful to keep the number of |
While using the name
quote
is more compatible with other lisps, using the name#%quote
would be more consistent, because"foo"
and'(foo)
are both syntactic sugar for a macro call, namely(#%string "foo")
and(quote (foo))
.The text was updated successfully, but these errors were encountered: