You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They are just as powerful as Hy's current macros (you can explicitly break hygiene when you want), more concise, and safer.
Hy probably cannot keep the environment associated with a symbol after expansion (Python has no similar notion), but it could gensym any macro-inserted (not passed-through) symbols in binding positions that were not explicitly captured and compare bindings.
I would personally rather use these, even with the limitation I mentioned. Maybe they can at least be an option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As seen here https://wiki.call-cc.org/explicit-renaming-macros (ignore the explicit variety).
They are just as powerful as Hy's current macros (you can explicitly break hygiene when you want), more concise, and safer.
Hy probably cannot keep the environment associated with a symbol after expansion (Python has no similar notion), but it could gensym any macro-inserted (not passed-through) symbols in binding positions that were not explicitly captured and compare bindings.
I would personally rather use these, even with the limitation I mentioned. Maybe they can at least be an option?
Beta Was this translation helpful? Give feedback.
All reactions