hy/tests/lang
Gergely Nagy a7cd70c84a compiler: Make maps and lists able to look up their params
As a neat syntactic sugar, it's very neat if maps and lists are able
to work as if they were functions, and look up their arguments.

This implements just that, by translating (map key) to (index map key)
internally, and (list idx) to (index list idx).

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2013-01-12 00:50:08 +01:00
..
__init__.py adding in test for more stuff. 2012-12-15 17:39:10 -05:00
colls.hy compiler: Make maps and lists able to look up their params 2013-01-12 00:50:08 +01:00
foo.hy tests, again 2012-12-23 14:02:47 -05:00
kwargs.hy tests, again 2012-12-23 14:02:47 -05:00
test_expression.py Updating for numbers 2012-12-16 21:44:14 -05:00
test_import.py hacking on stuff. 2012-12-18 09:11:42 -05:00
test_kwargs.py hacking on stuff. 2012-12-18 09:11:42 -05:00
test_map.py Hash-maps from the ballroom 2012-12-16 21:09:11 -05:00
test_types_as_fn.py compiler: Make maps and lists able to look up their params 2013-01-12 00:50:08 +01:00