Emacs, Why You Should Not Use the Package Dash (2020)

By Xah Lee. Date: . Last updated: .

this needs to be framed.

emacs lisp dash 2024-04-01
emacs lisp dash 2024-04-01
;; 2024-04-01
;; jisus. the emacs lisp dash package, the most damaging thing happened to emacs lisp.
;; if u see a package using it, uninstall it

(-filter (lambda (x) (eq (mod x 2) 0)) (list 1 2 3 4 5 6) )
;; (2 4 6)

(-filter (lambda (x) (eq (mod x 2) 0)) (vector 1 2 3 4 5 6))
;; Debugger entered--Lisp error: (wrong-type-argument listp [1 2 3 4 5 6])

goto your ~/.emacs.d/elpa/ dir, see if it contains dash s f. Delete them. Then delete all that depends on them. Am going to stop using magit. It depends on dash.

vidthumb gjiAjtGzC64
vidthumb dv34G-HCLUI
vidthumb IUsS4gQ9bgk