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

This is similar to `separate-multi` in #230 but has cleaner syntax. ```elisp (defmacro collect-cond! (list &rest clauses) (declare (indent 1)) (let ((lists (--map (make-symbol (concat "list" (number-to-string it))) (number-sequence 1...

enhancement

I want to optimize several functions in the library. For a start, here is the first optimization. Tell me if it's OK to continue or if I shouldn't waste my...

enhancement

Hello, I am writing a macro that can optionally use Dash for destructuring, and have been using `dash--match` to create a list of bindings suitable for using in a `setq`...

enhancement

Also replaced occurrences of `odd?` with `oddp`. Emacs Lisp provides `evenp` and `oddp` and apparently the use of (not defined) functions `even?` and `odd?` caused confusion for some readers. [I...

enhancement

I have already written the function, but then noticed in the docs that it can easily be composed from existing stuff: ``` (-sort-keyed key-computer comparator list) (-sort (-on comparator key-computer)...

enhancement

issue #156

enhancement

Fixes #182. - [x] implement `-insert-sorted` - [ ] implement `-union-sorted` (or `-merge-sorted`) This should not be merged before lexical binding is allowed to be used.

enhancement

Like inserting an element in a sorted list and returns the new sorted list or combining two sorted list and returns a new sorted list?

enhancement

Along the lines of the other binding control flow macros, it would be nice to have a `-cond-let` macro that binds variables for each condition. For example, [this code](https://github.com/nex3/dart-mode/blob/9b11e8fb63549ee3700fb53e92e4ce2cb302c971/dart-mode.el#L769-L776) could...

enhancement

`-defun` is like `-lambda`, but with destructuring. To implement it, abstract the arglist and form generation code of `-lambda` into separate functions. Additional benefits of the refactoring are: - `-lambda`...

enhancement
copyright