view testlistliteral.rhope @ 127:50406500334d

Port availability of type names at runtime to compiled compiler
author Mike Pavone <pavone@retrodev.com>
date Fri, 05 Nov 2010 02:40:51 +0000
parents e73a93fb5de1
children
line wrap: on
line source


Print List[idx, list]
{
	[list]Index[idx]
	{
		Print[~]
		{ Print List[[idx]+[1], list]}
	}
}

Main[]
{
	Print[Fold[+[?], 0, (5,27,39,43)]]
	{ Print List[0, ("foo","bar","baz")] }
}