short-lambda

Homepage: https://github.com/abo-abo/short-lambda

Author: Oleh Krehel

Updated:

Summary

Clojure-style anonymous function literal for Elisp

Commentary

This package allows to do this:

(cl-mapcar #(concat %1 " are " %2)
           '("roses" "violets")
           '("red" "blue"))
;; => '("roses are red" "violets are blue")

Or this:

(mapc #(put % 'disabled nil)
      '(upcase-region downcase-region narrow-to-region))

This assumes that there is a reader macro in the Emacs C code that
translates #(STRUCTURE) to (short-lambda STRUCTURE), in the same
way as for the `backquote' macro.

Dependencies