view samples/recursive_closure.tp @ 111:b2a3f202d485

Fleshed out the UI a little. Added a "literal" button that replaces the operator panel with a literal panel. Added the navigation buttons, but they're not functional yet.
author Mike Pavone <pavone@retrodev.com>
date Sun, 14 Apr 2013 17:24:53 -0700
parents 3a169ebb3224
children
line wrap: on
line source

#{
	main <- {
		foo <- :n {
			if: n < 10 {
				true
			} else: {
				foo <- :n { n }
			}
			foo: n + 1
		}
		print: (string: (foo: 0))
	}
}