Mercurial > repos > rhope
diff testlistliteral.rhope @ 92:e73a93fb5de1
Beginning of port of compiler to itself, some bugfixes and a refcount optimization
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 02 Aug 2010 00:58:55 -0400 |
parents | bcdc326b3d6e |
children |
line wrap: on
line diff
--- a/testlistliteral.rhope Sat Jul 31 17:17:23 2010 -0400 +++ b/testlistliteral.rhope Mon Aug 02 00:58:55 2010 -0400 @@ -1,5 +1,15 @@ + +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")] } }