21-letrec-recursion.scm (167B)
1 ; letrec actually exercises recursion: f(2) recurses to f(#f), which 2 ; takes the else branch and exits 7. 3 (sys-exit (letrec ((f (lambda (n) (if n (f #f) 7)))) (f 2)))
boot2Playing with the boostrap | |
| git clone https://git.ryansepassi.com/git/boot2.git | |
| Log | Files | Refs | README |