aboutsummaryrefslogtreecommitdiffstats
path: root/research/experiments/044-specs/probes-027/p4-rec.aup
blob: a725d81c3c6a5ae743f422f410af66902ae35541 (plain)
1
2
3
4
5
6
fn depth(n) -> number = if n == 0 { 0 } else { 1 + depth(n - 1) }
state d = 0
input go = key Space
on go.down {
  d = depth(3)
}