Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This particular case is unique to Clojure, I believe. You definitely can’t do that in Common Lisp , and Scheme I am not so sure. It was one of the main motivations for Rich Hickey to make the language more uniform so that a few functions work on any number of data structures.


> This particular case is unique to Clojure, I believe.

It also works in pure lambda calculus (assuming you define a vector type). But in lambda calculus, literally every value is a function.


is pure lambda calculus something i can install and use to host a web server?

No reason why not, in principle. Using Church-encoded numerals and so on might be a little inefficient. Probably not as bad as Python though.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: