Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorials:beginner:failure_handling [2019/07/16 11:33] – cpo | tutorials:beginner:failure_handling [2022/03/15 13:36] – [Defining and signaling a failure condition] schimpf | ||
---|---|---|---|
Line 3: | Line 3: | ||
**Description: | **Description: | ||
- | **Previous Tutorial:** [[tutorials: | + | **Previous Tutorial:** [[tutorials: |
**Next Tutorial:** [[tutorials: | **Next Tutorial:** [[tutorials: | ||
Line 108: | Line 107: | ||
(defparameter *max-bound* 10.5) | (defparameter *max-bound* 10.5) | ||
- | (defun navigate (?v) | + | (defun navigate (&key ((: |
+ | & | ||
+ | (declare (type (or list null) ?target)) | ||
(flet ((out-of-bounds (pose) | (flet ((out-of-bounds (pose) | ||
| | ||
Line 117: | Line 118: | ||
(whenever ((fl-funcall #' | (whenever ((fl-funcall #' | ||
(error ' | (error ' | ||
- | (exe: | + | (exe: |
</ | </ | ||