5 karma · joined Apr 8, 2015 (11y ago) · 2 submissions
comment 11y ago · link · parent
Seriously? He grabbed the idea just like this? Am I that old and stupid, that partial application didn't seem to me that easy? Or is currying what kids learn in a kindergarten these days? Sorry for my ranting, I'm just really amazed. A humanity went a long way to understanding such quite abstract conceptions as number 0 (as absence of something). And at 10 years kids, i think, are still learning by seeing, touching, playing. So concluding a much more abstract idea seems really fantastic.
comment 11y ago · link · parent
1. + contains only special characters and must be used either as infix function (1 + 2) or be enclosed in brackets
2. You need an initial value for the accumulator. You are reducing a list to a single value, you need to start somewhere
Please, gurus of Haskell, correct me if I'm wrong, I've just recently started to learn the language