016557deab
The `with-decorator` special form is not the most ergonomic—this commit introduces a new builtin `#@` reader macro that expands to an invocation of `with-decorator`. To support this, `reader_macroexpand` is made to also look in the default `None` namespace, in imitation of how regular (non-reader) macros defined in hy.core are looked up. The docstring of `hy.macros.reader` is also edited slightly for accuracy. This in the matter of issue #856. |
||
---|---|---|
.. | ||
contrib | ||
__init__.hy | ||
cons.hy | ||
core.hy | ||
defclass.hy | ||
language.hy | ||
mathematics.hy | ||
native_macros.hy | ||
py3_only_tests.hy | ||
quote.hy | ||
reader_macros.hy | ||
shadow.hy | ||
unless.hy | ||
when.hy | ||
with_decorator.hy | ||
with_test.hy |