view testlistliteral.rhope @ 186:ba35ab624ec2

Add support for raw C function output from C backend as well as an option to use Boehm-GC instead of reference counting
author Mike Pavone <pavone@retrodev.com>
date Fri, 07 Oct 2011 00:10:02 -0700
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")] }
}