Mercurial > repos > rhope
view testlistliteral.rhope @ 135:18a4403fe576
Javascript backend can now produce broken output. Needs fixes plus port of standard lib
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 14 Nov 2010 03:09:49 -0500 |
parents | e73a93fb5de1 |
children |
line wrap: on
line source
Print List[idx, list] { [list]Index[idx] { Print[~] { Print List[[idx]+[1], list]} } } Main[] { Print[Fold[+[?], 0, (5,27,39,43)]] { Print List[0, ("foo","bar","baz")] } }