annotate samples/recursive_closure.tp @ 377:93c28eee141e tip

Merge
author Michael Pavone <pavone@retrodev.com>
date Sat, 15 Aug 2015 22:45:33 -0700
parents 3a169ebb3224
children
rev   line source
pavone@55 1 #{
pavone@55 2 main <- {
pavone@55 3 foo <- :n {
pavone@55 4 if: n < 10 {
pavone@55 5 true
pavone@55 6 } else: {
pavone@55 7 foo <- :n { n }
pavone@55 8 }
pavone@55 9 foo: n + 1
pavone@55 10 }
pavone@55 11 print: (string: (foo: 0))
pavone@55 12 }
pavone@55 13 }