hy/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
..
compilers Always import __future__.print_statement in hy code 2013-09-22 15:31:15 +02:00
importer Fix flake error 2013-07-06 20:39:02 +02:00
lex Wire the rply parser 2013-07-28 17:36:36 +02:00
macros Cleanup the hy.macros module 2013-09-29 18:13:28 +02:00
models Make HyList add returns HyList 2013-04-28 17:04:33 +02:00
native_tests Add anaphoric versions of map, filter, and foreach 2013-11-28 13:23:09 -05:00
resources Rewrite the bootstrap macros in hy 2013-09-29 18:13:28 +02:00
__init__.py Add set of new core functions 2013-07-13 09:55:16 -06:00
test_bin.py Merge pull request #265 from rwtolbert/hyc_args_fix 2013-08-20 01:10:44 -07:00