Mercurial > repos > rhope
view testdictsetget.rhope @ 85:6d10b5b9ebc3
Make dispatch type selectable between replicated switch and computed goto
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 30 Jul 2010 23:49:19 +0000 |
parents | 27bb051d631c |
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"]] }}} }