a7cd70c84a
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> |
||
---|---|---|
.. | ||
__init__.py | ||
colls.hy | ||
foo.hy | ||
kwargs.hy | ||
test_expression.py | ||
test_import.py | ||
test_kwargs.py | ||
test_map.py | ||
test_types_as_fn.py |