Mercurial > repos > tabletprog
view samples/recursive_closure.tp @ 281:f6dfb85e80e5
Forgot to return this in previous self fix
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 21 Jul 2014 19:41:15 -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)) } }