Code: Select all
(defmacro with-experiment ((experiment file) &body body)
`(let* ((,experiment (read-experiment-file ,file)))
,@body))
Anybody know of any pitfalls in this regard?
-a
Code: Select all
(defmacro with-experiment ((experiment file) &body body)
`(let* ((,experiment (read-experiment-file ,file)))
,@body))
Code: Select all
(with-experiment ((car ex) "file")
...)
Code: Select all
(let* (((car ex) (read-experiment-file "file)))
..)
Code: Select all
(defmacro with-experiment ((experiment file) &body body)
(check-type experiment symbol)
`(let* ((,experiment (read-experiment-file ,file)))
,@body))