Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Reducers, transducers and core.async in Clojure. Parent comment
TL;DR: Clojure supports multi-arity functions (sort of like operator overloading in C++, but overloading for the number of operands, not their types)
When no default value is given, the result of reduce on the first two elements is used.
There are no comments on this comment yet.
TL;DR: Clojure supports multi-arity functions (sort of like operator overloading in C++, but overloading for the number of operands, not their types)
When no default value is given, the result of reduce on the first two elements is used.