Adam Porter
Adam Porter
@licht1stein Again, I question the value of that workflow. Keeping old code in non-commented form, inside a macro, amidst code that is actually used, seems like a bad idea to...
> I think that actually turning dash into a port of clojure.core to elisp is not a mess, but something that immensely benefits all the developers and both languages. That's...
@licht1stein Yes, but first see the libraries `ht` and `a`, as well as the built-in `map` and `pcase`.
> `cljr` is already taken by clojure-refactor. `clj` then? `cj`? I'm sure there's something available...
> I think there is now a discussion about adding this to Emacs Lisp core language, something like those clojure forms %() or so (I don't use clojure). Oh, cool,...
I guess maybe @Fuco1 was referring to this: https://www.reddit.com/r/emacs/comments/6j3fi0/anonymous_function_macro_in_elisp/ https://www.reddit.com/r/emacs/comments/6yhg4m/anonymous_function_macro_in_elisp/ But if there's a more official discussion... :)
Having read through those, here's another function that might be useful. It recursively finds symbols starting with `$`, sorts them, and makes them the lambda's arg list: ```el (defmacro -$...
Well, that's interesting. I also had no idea that fn.el exists and is in MELPA. However, I think the `` / ` ` syntax is awkward, and especially doesn't look...
@Luis-Henriquez-Perez Yes, and you could also use `--filter` to avoid having a defined `--dollar-symbol?` function. > Question: what's the reason for sorting the arguments? The intention was to use digit...
> Ok, that makes sense. Darn, I was hoping we could use any $name so we could make the the bodies more readable, but then we can't determine the order...