Closed digikar99 closed 4 years ago
when-option mentioned in examples/example.lisp seems like a useful little macro. Why don't you add it to the unix-opts package? That would help the community abide better by the DRY principle - I mean everyone would want to use it, right?
when-option
unix-opts
(defmacro when-option ((options opt) &body body) `(let ((it (getf ,options ,opt))) (when it ,@body)))
Not very necessary: https://digikar99.github.io/common-lisp.readthedocs/unix-opts/#getting-started
when-option
mentioned in examples/example.lisp seems like a useful little macro. Why don't you add it to theunix-opts
package? That would help the community abide better by the DRY principle - I mean everyone would want to use it, right?