Created
March 9, 2022 19:09
-
-
Save Bike/0e5db3b75efe8c290c48220f79837154 to your computer and use it in GitHub Desktop.
concatf
This file contains hidden or 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
(defmacro concatf (str &rest strings &environment env) | |
(multiple-value-bind (temps vals stores write read) | |
(get-setf-expansion str env) | |
`(let* (,@(mapcar #'list temps vals)) | |
(multiple-value-bind (,@stores) | |
(concatenate 'string ,read ,@strings) | |
,write)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment