Mercurial > repos > rhope
diff testdictsetget.rhope @ 83:27bb051d631c
Initial implementation of Dictionary
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 27 Jul 2010 23:33:31 -0400 |
parents | |
children | e09c2d1d6d5b |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testdictsetget.rhope Tue Jul 27 23:33:31 2010 -0400 @@ -0,0 +1,16 @@ + + +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"]] }}} +} +