2106a0e5d4
Anaphoric macros reduce the need to specify a lambda by binding a special name in a form passed as a parameter to the macro. This allows you to write more concise code: (= (list (--filter (even? it) [1 2 3 4])) [2 4]) This patch just adds a few basic ones. Other forms that can be converted to anaphoric versions include reduce, remove, enumerate, etc. |
||
---|---|---|
.. | ||
__init__.hy | ||
core.hy | ||
defclass.hy | ||
language.hy | ||
math.hy | ||
native_macros.hy | ||
quote.hy | ||
unless.hy | ||
when.hy | ||
with_decorator.hy |