Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
epolanski
8 months ago
|
parent
|
context
|
favorite
| on:
How functional programming shaped and twisted fron...
What the previous user means is that reduce is not a function that returns a list (albeit it can).
It just accumulates over some value, and that value can be anything.
chuckadams
8 months ago
[–]
Naw, GP is right, I'd forgotten about the limits of primitive recursion. But for almost any given real-world problem, it's something you can get away with forgetting.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It just accumulates over some value, and that value can be anything.