]> hydra-www.ietfng.org Git - dyna2/commit
added infix 'in' operator for "iterating" the elements of a list (i.e. `a += x
authorTim Vieira <tim.f.vieira@gmail.com>
Mon, 1 Jul 2013 21:53:00 +0000 (17:53 -0400)
committerTim Vieira <tim.f.vieira@gmail.com>
Mon, 1 Jul 2013 21:53:00 +0000 (17:53 -0400)
commit926c269f4764745d54522dbedd7f62079cde4536
tree36a10b1c25bcb19ff042b5bcf522ba06d1a7c936
parent212942f7e8732abc952b34df1a13384bf5b0153d
added infix 'in' operator for "iterating" the elements of a list (i.e. `a += x
for X in [1,2,3].` with `X` free and the list bound.) and check if the item
exists in the list.
examples/expected/lists.py.out
examples/lists.dyna
src/Dyna/Backend/Python/Backend.hs
src/Dyna/Backend/Python/interpreter.py
src/Dyna/Backend/Python/term.py
src/Dyna/Term/SurfaceSyntax.hs