-
Notifications
You must be signed in to change notification settings - Fork 370
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
change xi macro to #% tag macro #1444
Conversation
Do you have thoughts on whether to highlight the |
1d22965
to
e6f9074
Compare
You mean, "Does clojure-mode?" It does, I checked. Should Hy? I'm less certain. This is not builtin syntax. This is not even a core macro. But, if we conventionally used We could use |
I meant "does and what face", I can check into it. A middle-ground is to implement is as an option, your call whether to enable it by default or not. |
I added a For example, |
This is cool. I like it. Is it ready for review? Still, I would finish up your outstanding PRs (and review those of others) before starting new ones like this. |
Hy can't be my top priority all the time. I'm busy with other things right now, but this seemed like a really easy fix, especially since I wrote the code in question in the first place. It's a tag macro, so I've generalized Clojure would have to use It should be ready for review now. |
A lot of the diff is whitespace changes to old code. If you want to include them in this PR, could you put them in a separate commit? Instead of "presence of a The tests seem to pass without the
You have a commented-out Otherwise, all looks good. |
3a82b3a
to
3b9895f
Compare
Done.
I reworded it, but not quite that way.
Yep.
More elegant, I like it.
Removed. @Kodiologist, how about now? |
docs/extra/anaphoric.rst
Outdated
=> (add-10 6) | ||
16 | ||
|
||
``#%`` determines the parameter list by the presence of a ``%*``, or ``%**`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray comma.
As discussed in #1439. This replaces
xi
with a more Clojure-like#%
tag macro.