Hacker News new | comments | show | ask | jobs | submit login

Clojure has #(+ % 10) for Arc's [+ _ 10]. Does anyone know if Arc inspired Clojure, or whether there's prior art for this syntax?

I think the convention predates both. boost::bind for C++ does something similar: http://www.boost.org/doc/libs/1_40_0/libs/bind/bind.html

I think Clojure copied Arc on this.

Actually it was inspired by Mathematica:


Goo appears to have something similar in its op (partial evaluation) function.

At least the _ part is used in both Haskell and Prolog.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact