Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [dash.el]

dash.el is library of list processing functions, function combinators, and anaphoric macros, often inspired by Clojure's standard library. It is available on GNU ELPA.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

Dash library is installed but does not work

Dash appears to be installed (it shows as status "dependency") but I cannot use it: (-sum '(1 2 3)) ==> progn: Symbol’s function definition is void: -sum I tried to delete and reinstall ...
zeynel's user avatar
  • 371
2 votes
2 answers
115 views

How to fix indentation for `dash.el` threading macros (e.g. `->>`)

As I write more Elisp, I find myself using the threading macro increasingly often. However, since it is an imported, not a built-in one, the indentation is not like what I want it to be. For example, ...
Namudon'tdie's user avatar
4 votes
1 answer
2k views

How do I solve `Lisp error: (void-function -compose)` when using lsp-dart?

When I load a Dart file with GNU Emacs 27.1-1 for OS X I get the following little error novel. Debugger entered--Lisp error: (void-function -compose) (-compose #'lsp--client-path->uri-fn #'lsp--...
Sam7919's user avatar
  • 379
0 votes
1 answer
101 views

What does -> mean in library dash.el?

What does the -> mean here: (interactive (list (-> (dap--completing-read "Select configuration template: " (-mapcat #'funcall dap-launch-configuration-providers) ...
David's user avatar
  • 299
0 votes
0 answers
209 views

why dash didn't show up with list-packages

I was trying to install dash using elpa but failed. I can't understand why it shows dash[no match] by following M-x package-install RET dash RET as in the snapshot. can anyone let me know why? Thank ...
YiC's user avatar
  • 115
0 votes
0 answers
123 views

How to properly install and use package dependencies in Travis CI

Backstory Hi, I am developing a library that easily transforms JSON alists into EIEIO objects, jeison. It sounds pretty obvious and a duplicate of json.el functionality, but it is a bit trickier than ...
Valeriy Savchenko's user avatar
1 vote
0 answers
170 views

Open helm-dash in emacs in a new window

When I'm editing my code, I'd like to open the documentation via helm-dash-at-point in a new split besides my source code. But it only opens in the same window. I don't really care if it uses eww or ...
sebastian's user avatar
  • 417
3 votes
1 answer
533 views

How to invoke functions that are quoted in let?

I'm trying to do some processing of values passed in a plist. Processing is quite similar: get a value, convert it to number if necessary, check if within bounds and if yes, return a string with that ...
Nikola Knezevic's user avatar
1 vote
1 answer
234 views

What is disabling the dash package?

I'm trying to install the smartparens package, but I'm having trouble. When I go to M-x list-packages, mark smartparens for installation, and hit x (execute) y (yes), I get the error message: ...
Violet's user avatar
  • 488
0 votes
0 answers
134 views

Projectile void variable `it`

Projectile, as of versions marmalade-0.10.0 and melpa-20150720.515, seems to have lost access to the it variable. I think that dash may have changed the variable's scope. How can I work around this? ...
Matthew Piziak's user avatar
2 votes
1 answer
1k views

Zip/Map functions ending when shortest list runs out

I wanted a function in the style of zip, but rather than stopping when one of the supplied lists runs out, I wanted it to continue using zip on the rest of the lists. Looking around at a few Emacs ...
user avatar
1 vote
1 answer
348 views

"symbol's function definition is void: -dotimes" Error

I'm trying to use the following function (extracted from the amazing emacs-prelude configuration) (defun prelude-duplicate-current-line-or-region (arg) "Duplicates the current line or region ARG ...
RafaelGP's user avatar
  • 301
11 votes
1 answer
719 views

What's "it" for?

For example in the definition of -first we have: (--first (funcall pred it) list)) Naturally the meaning of "it" is very hard to google or search in the manual.
Alejandro Pedraza's user avatar