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

Alternatively have a function to move an nth element to the front. (-to-front 4 '(0 1 2 3 4 5 6 7 8)) => '(4 0 1 2 3 5...

enhancement

```el (defmacro -

enhancement

Right now, we need ``` elisp (-each '((a . b) (c . d)) (-lambda ((first . second)) (code-using first second)) ``` Could be ``` elisp (-??? (first . second) '((a...

enhancement

Hello, ``` elisp (--each [1 2 3] (message "%s" it it)) ``` Does not work. Is that intentional? Any plans on supporting it? For example, `--map` works.

discussion

Consider: ``` lisp (-if-let ((a b) '(1 2)) (list a b) 'else) (1 2) (-if-let ((a b) '(1 nil)) (list a b) 'else) else ``` I think the behavior in...

discussion

`-applify` takes a variadic function and turns it into a function on a list. Can we have a function that takes a function on a list of similar values and...

enhancement

I was just looking at the code from the other PR, and it ocured to me, why not make `-let`'s `[]` syntax match what clojure has? See https://clojuredocs.org/clojure.core/let It seems...

enhancement

I've already discussed this a little bit with Magnar but I need to clear my thoughts a bit. So what I'm proposing we do is an API for alists, plists...

enhancement

I'd like to be able to write: ```lisp (setf (-last-item some-list) new-value) ``` Rather than: ```lisp (setf (car (last some-list)) new-value) ``` Would you be open to a patch that...

enhancement

## Why? See discussion in #212. ## Transition plan When we do the transition we can provide a file `dash-compat.el` or `dash-aliases.el` which people could require to keep the old...

discussion