view testdictfirstnext.rhope @ 122:7361d70fbba6

Improve comparison performance by using a constant rather than building a new result object each time
author Mike Pavone <pavone@retrodev.com>
date Thu, 28 Oct 2010 21:04:44 -0400
parents e73a93fb5de1
children
line wrap: on
line source



Main[]
{
	dict <- [[[[Dictionary[]
	]Set["foo", "bar"]
	]Set["bovine","moo"]
	]Set["food", "fight"]
	]Set["fool", "wise"]

	Print[dict]
	{Print[ [[Dictionary[]]Set["work1", "foo"]]Set["work2", "bar"] ]
	}
}