view samples/testdict.tp @ 316:df4b67d8d2bc

Minor improvement to error message about invalid c type expressions
author Michael Pavone <pavone@retrodev.com>
date Thu, 19 Mar 2015 22:39:18 -0700
parents 6735db9b44ba
children
line wrap: on
line source

#{
	main <- {
		foo <- dict linear:
		foo set: "key1" "val1"
		foo set: "key2" "val2"
		foreach: foo :k :v {
			print: k . ", " . v . "\n"
		}

	}
}