Mercurial > repos > rhope
view 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 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"]] }}} }