Mercurial > repos > tabletprog
view samples/recursive_closure.tp @ 102:92ff9630897a
Remove explicit calls to lazyinit that were no longer necessary.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 09 Aug 2012 19:11:42 -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)) } }