provides a portable way to capture control-c in your lisp programs
ExportsMacro with-user-abort
&body body
executes BODY and captures a user-interrupt (control-c) and signals user-abort condition
Condition user-abort
a simple condition that inherits from your implementation's user-interrupt.
Example(handler-case (with-user-abort (long-running-call)) (user-abort () (print "Quitting gracefully") (uiop:quit 1)))License
BSD 3-Clause
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4