Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exercises/01/1.31.scm line 31 #25

Open
fuzhengjia opened this issue Mar 27, 2020 · 0 comments
Open

exercises/01/1.31.scm line 31 #25

fuzhengjia opened this issue Mar 27, 2020 · 0 comments

Comments

@fuzhengjia
Copy link

fuzhengjia commented Mar 27, 2020

;(b)
(define (product2 a term b next)
(define (iter a result)
(if (> a b)
result
((iter (next a) (* (term a) result))))
(iter a 1))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant