This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello! I'm having troubles with what these lines are saying.
(define (accumulate combiner null-value term a next b)
(if (> a b)
null-value
(combiner (term a) (accumulate combiner null-value term (next a) next b)))) <--- THIS LINE
-----------------------------------
(define (accumulate-tr combiner null-value term a next b)
(if (> a b)
null-value
(accumulate-tr combiner (combiner (term a) null-value) term (next a) next b))) <--- THIS LINE
So I'm just confused as to what is happening there's so many variables so many terms I'm kind of overwhelmed. Can anyone dumb it down for :/? Thank you very much!!!!!!!!!
Subreddit
Post Details
- Posted
- 3 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnprogra...