hy/tests/native_tests
agentultra 2106a0e5d4 Add anaphoric versions of map, filter, and foreach
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.
2013-11-28 13:23:09 -05:00
..
__init__.hy ideas, ideas. 2013-03-05 18:39:34 -05:00
core.hy Add anaphoric versions of map, filter, and foreach 2013-11-28 13:23:09 -05:00
defclass.hy Fix missing docstrings from defclass issue #248 2013-07-15 06:58:08 -06:00
language.hy Rewrite the bootstrap macros in hy 2013-09-29 18:13:28 +02:00
math.hy Re-indent Hy code using hy-mode 2013-04-28 16:31:31 +02:00
native_macros.hy Macro if-python2 for compile-time choice between Python 2 and Python 3 code branches 2013-09-02 09:58:35 +02:00
quote.hy Add test for unquote-splice behavior 2013-09-22 15:12:59 +02:00
unless.hy Add a `unless' macro 2013-04-28 17:04:35 +02:00
when.hy Add a `when' macro 2013-04-28 17:04:35 +02:00
with_decorator.hy Rename decorate-with' to with-decorator' 2013-04-28 17:14:22 +02:00