Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
alexandria
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christophe Junke
alexandria
Commits
e94589dd
Commit
e94589dd
authored
16 years ago
by
Nikodemus Siivola
Browse files
Options
Downloads
Patches
Plain Diff
implement SIMPLE-PROGRAM-ERROR
parent
af3ece57
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conditions.lisp
+8
-0
8 additions, 0 deletions
conditions.lisp
package.lisp
+13
-3
13 additions, 3 deletions
package.lisp
with
21 additions
and
3 deletions
conditions.lisp
+
8
−
0
View file @
e94589dd
...
...
@@ -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."
...
...
This diff is collapsed.
Click to expand it.
package.lisp
+
13
−
3
View file @
e94589dd
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment