Mercurial > repos > tabletprog
view samples/recursive_closure.tp @ 135:f98790d8a53d
Add int64, int16 and int8. Also add hex method to integer types.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 08 Aug 2013 20:03: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)) } }