Open mmontone opened 2 years ago
SWANK implements this, but doesn't export:
(defun call-with-retry-restart (msg thunk) (loop (with-simple-restart (retry "~a" msg) (return (funcall thunk))))) (defmacro with-retry-restart ((&key (msg "Retry.")) &body body) (check-type msg string) `(call-with-retry-restart ,msg (lambda () ,@body)))
Would you be interested in including those utilities in Serapeum? There may be other restart utilities that could be worth including ...
Those look promising, I'm interested.
SWANK implements this, but doesn't export:
Would you be interested in including those utilities in Serapeum? There may be other restart utilities that could be worth including ...