Mercurial > repos > tabletprog
view samples/recursive_closure.tp @ 161:fc8eecad71e6
Fix variable name collision in integer objects
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 10 Aug 2013 18:26:33 -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)) } }