dash.el icon indicating copy to clipboard operation
dash.el copied to clipboard

A modern list library for Emacs

Results 69 dash.el issues
Sort by recently updated
recently updated
newest added

We had some conversations about the ability to plug pcase into ->> macro(the alternative is using generic `-shift-args` which will allow using ->> with any function that will require) ```...

enhancement

- Remove emacs 23 tests - Run tests using the evm & cask combo (as is standard these days) - Run tests for all 24.\* versions as well as 25.1...

here it is what you can do now: ``` emacs-lisp (let ((ht (make-hash-table :test 'equal))) (cl-callf (lambda (s) (concat "FOO" s)) (gethash "BAR" ht)) (cl-callf (lambda (s) (concat "-FOO2" s))...

enhancement
discussion

Hi. This is the implementation I mentioned in #330. My main difficulty when porting this from Clojure's definition was regarding `make-symbol` vs. `intern`. When using make-symbol, I ran into the...

enhancement
copyright

_Note: It's no longer proposed that these macros be named `-cond->>` and `--cond->`. See [this comment](https://github.com/magnars/dash.el/issues/234#issuecomment-747867051)._ Hey, it's me again, another idea. :) ```el (defmacro -cond->> (test &rest forms) (declare...

enhancement

I'm still an elisp noob, so this is probably a bad idea and I just don't realize it yet. :) (I did search the issue tracker but I didn't find...

enhancement

Example from the clojure docs ``` clojure (cond-> 1 ; we start with 1 true inc ; the condition is true so (inc 1) => 2 false (* 42) ;...

enhancement

A destructuring idea using `...`: ```elisp (-let [(first ... last) '(1 2 3 4 5)] (list first last)) ;; => (1 5) (-let [(first ... second-to-last last) '(1 2 3...

enhancement

- I used `-lambda` as a base, tried several versions with extracting the common code but neither of them made the code more readable(IMO). - Removed the restrictions against doing...

enhancement

Wanting more flexible argument handling, I tried to implement this with `pcase`, but I couldn't get it to match the plist at the end. It was much easier with `-let`,...

enhancement