This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Commentary | |
;; | |
;; Allows for more compact anonymous functions. The following | |
;; examples demonstrate the usage. | |
;; | |
;; ;; partial application with `curry' | |
;; (mapcar (» #'+ 2) '(1 2 3 4)) ; => (3 4 5 6) | |
;; | |
;; ;; alternate order of arguments with `rcurry' | |
;; (mapcar (« #'- 1) '(1 2 3 4)) ; => (0 1 2 3) |