Skip to content
Snippets Groups Projects
Commit e94589dd authored by Nikodemus Siivola's avatar Nikodemus Siivola
Browse files

implement SIMPLE-PROGRAM-ERROR

parent af3ece57
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,14 @@ a default value for required keyword arguments."
:format-control message
:format-arguments args))
(define-condition simple-program-error (simple-error program-error)
())
(defun simple-program-error (message &rest args)
(error 'simple-program-error
:format-control message
:format-arguments args))
(defmacro ignore-some-conditions ((&rest conditions) &body body)
"Similar to CL:IGNORE-ERRORS but the (unevaluated) CONDITIONS
list determines which specific conditions are to be ignored."
......
......@@ -2,19 +2,28 @@
(:nicknames :alexandria)
(:use :cl)
(:export
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; BLESSED
;;
;; Binding constructs
#:if-let
#:when-let
#:when-let*
;; Definitions
#:define-constant
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; REVIEW IN PROGRESS
;;
;; Control flow
#:cswitch
#:eswitch
#:nth-value-or
#:switch
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; REVIEW PENDING
;;
#:nth-value-or
#:whichever
#:xor
;; Definitions
#:define-constant
;; Hash tables
#:alist-hash-table
#:copy-hash-table
......@@ -124,6 +133,7 @@
#:simple-style-warning
#:simple-reader-error
#:simple-parse-error
#:simple-program-error
#:unwind-protect-case
;; Features
#:featurep
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment