Hacker News new | ask | show | jobs
by pathsjs 3794 days ago
I respectfully disagree. I know map, of course, yet clojure (or LISPs in general) is the only language where it is variadic. I definitely did not instantly grok what the Clojure version does - in fact, I know all the languages in the example and each of them was more clear than clojure to me
1 comments

> I know map, of course, yet clojure (or LISPs in general) is the only language where it is variadic.

According to Wikipedia `map` is also variadic in in D, in J, in Mathematica, in Prolog (and logtalk), in Python and in R (to an extent, `lapply` is not variadic but `mapply` can take 2+ sequences).

Variadic map is by no means limited to lisps.