Skip to content

Instantly share code, notes, and snippets.

@dmastylo dmastylo/test.scm
Last active Jul 29, 2017

Embed
What would you like to do?
scheme
(define (func (lambda (n cnt)
(if (= n 1)
cnt
((func (quotient (+ n 1) 2) (+ 1 cnt)))
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.