view teststring.rhope @ 89:5a195ee08eac

Fix memory leak and bug that was preventing First@Dictionary from working properly
author Mike Pavone <pavone@retrodev.com>
date Sat, 31 Jul 2010 00:19:15 -0400
parents 4d5ea487f810
children
line wrap: on
line source


Main[]
{
	barbaz <- [right]Append["baz"]
	,right <- ["foobar"]Slice[3]
	{ Print[~]
	{ Print[right] 
	{ Print[barbaz]
	{
		bar,baz <- [barbaz]Slice[3]
		{ Print[bar]
		{ Print[baz]
		{
			If[[bar]=[ [["b"]Append["a"]]Append["r"] ]]
			{
				Print["Comparison OK"]
				{
					,delim,after <-["foshizzlemynizzle"]Partition["my"]
					{ Print[~]
					{ Print[delim]
					{ Print[after] }}}
					
				}
			}{
				Print["Comparison failed"]
			}
		}}}
	}}}}
}