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

```elisp (-let (((&plist :foo->:bar value) (list :foo (list :bar "x")))) (message "value is %s" value)) ;; should also work like this to support "string"->"keys" (-let (((&plist :foo -> :bar value)...

enhancement
discussion

I am thinking of a macro to define a function like this: ```elisp (-defun-kw foo (a b &key one (two "2") &rest args) (list a b :one one :two two...

Hi! I found this package and found many package-lint/elisp-checkdoc errors. So I fix them to fix easy as my first contribution step. ### before 470 erros/warnings ```emacs-lisp dash.el 1 1...

Fixes #136 The syntax is as follows ```elisp (-dolist ((first . second) '((a . b) (c . d))) (message "first %s second %s" first second)) ;; also works as usual...

This `-setq` form expands to set `_rest`, even though it shouldn't. If `. _rest` is removed, it expands to set `_two-char-construct-syntax`. This causes byte-compile warnings like `Warning: variable ‘_rest’ not...

Very often I want to update the value of a variable using a threading macro. ```elisp (setq cute-var (->> cute-var (form1) (form2) ...)) ``` So often in fact that the...

Hey, it's me again with another crazy macro idea. :) ```el (defmacro -- (&rest body) `(lambda (it) ,@body)) ``` Used like: ```el (cl-sort '((1 "one") (2 "two")) #'> :key (--...

enhancement

Since we have `-sort` to sort a list with fn. There should be a `-shuffle` to disorder the list I try to wrote a function like ```Elisp (defun -shuffle (list)...

At this point, `dash` supports 4 different destructoring keyword (keys/hash/plist/alist) and from what I can see it will be not hard to add new keywords by providing a destructuring template(or...

enhancement