mirror of
https://github.com/fiddlerwoaroof/data-lens.git
synced 2025-11-08 10:16:32 +00:00
feat: add calling
This commit is contained in:
@ -291,6 +291,11 @@
|
||||
(apply #'concatenate result-type
|
||||
seq)))
|
||||
|
||||
(defmacro calling (fun &rest args)
|
||||
(alexandria:with-gensyms (first-arg)
|
||||
`(lambda (,first-arg)
|
||||
(funcall (functionalize ,fun) ,first-arg ,@args))))
|
||||
|
||||
(defmacro applying (fun &rest args)
|
||||
(alexandria:with-gensyms (seq fsym)
|
||||
`(let ((,fsym (functionalize ,fun)))
|
||||
|
||||
Reference in New Issue
Block a user