Mercurial > repos > rhope
view testdictsetget.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 | e09c2d1d6d5b |
children |
line wrap: on
line source
Main[] { dict <- [[[[Dictionary[] ]Set["foo", "bar"] ]Set["bovine","moo"] ]Set["food", "fight"] ]Set["fool", "wise"] Print[[dict]Index["food"]] { Print[[dict]Index["bovine"]] { Print[[dict]Index["foo"]] { Print[[dict]Index["fool"]] { Print[[[[Dictionary[] ]Set["+@Foo", "bar"] ]Set["+", "add"] ]Index["+"]] }}}} }