Embed Notice
HTML Code
Corresponding Notice
- Embed this notice@vii
> I'm about to pass out in my chair but I deeply appreciated you sharing those sexps, they brought back a lot of memories.
I don't have a :mccarthysmug:!
> this is hilarious, and not just because of haskell but also because of clojure
This might actually predate Clojure but I remember seeing their "Here's how we got fewer parens in the language" and being thoroughly unimpressed and then wanting to vomit when I saw what they did with brackets. On the other hand, people besides Rich Hickey use his language. Anyway, I don't know whether Clojure has a thing for that but I ended up using `(= name (\ ... -> ...))` more often than `(def name (...) ...)`.
(Oh, also `...` was a builtin: it was the void function, stolen from...unlambda! `(... x)` would yield `...` for any `x`, and it was named `...` since pattern-matching was a recursive process and you could use it for ignored arguments because it would return non-false/non-nil. So you could get the last element of a list with `(apply (lambda (*... e) e) some-list)`, though of course pattern-matching was slower than just indexing. It was a very fun language but I lost my fascination with Lisp. The language itself was kind of a fever-dream version of CSP-Ruby-Lisp.)
At any rate, does Clojure have some sort of syntax like that?
> Thank you for your gettingness, I hope to share this code with you soon.
:bigbosssalute: I love source code.
ur_source_code.jpg