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
Snippets
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
Momchil Ivanov
alexandria
Commits
85f82ed8
Commit
85f82ed8
authored
8 years ago
by
Steve Losh
Committed by
Attila Lendvai
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
housekeeping
fix typos in docstring and error messages.
parent
7a42065f
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
control-flow.lisp
+1
-1
1 addition, 1 deletion
control-flow.lisp
io.lisp
+2
-2
2 additions, 2 deletions
io.lisp
with
3 additions
and
3 deletions
control-flow.lisp
+
1
−
1
View file @
85f82ed8
...
...
@@ -68,7 +68,7 @@ returns the values of DEFAULT if no keys match."
,
(
expand
possibilities
0
random-number
)))))))
(
defmacro
xor
(
&rest
datums
)
"Evaluates its arguments one at a time, from left to right. If more th
e
n one
"Evaluates its arguments one at a time, from left to right. If more th
a
n one
argument evaluates to a true value no further DATUMS are evaluated, and NIL is
returned as both primary and secondary value. If exactly one argument
evaluates to true, its value is returned as the primary value after all the
...
...
This diff is collapsed.
Click to expand it.
io.lisp
+
2
−
2
View file @
85f82ed8
...
...
@@ -33,7 +33,7 @@ FILE-NAME. ARGS is sent as is to the call to OPEN except EXTERNAL-FORMAT,
which is only sent to WITH-OPEN-FILE when it's not NIL."
(
declare
(
ignore
direction
))
(
when
direction-p
(
error
"Can't specif
i
y :DIRECTION for WITH-INPUT-FROM-FILE."
))
(
error
"Can't specify :DIRECTION for WITH-INPUT-FROM-FILE."
))
`
(
with-open-file*
(
,
stream-name
,
file-name
:direction
:input
,@
args
)
,@
body
))
...
...
@@ -46,7 +46,7 @@ FILE-NAME. ARGS is sent as is to the call to OPEN except EXTERNAL-FORMAT,
which is only sent to WITH-OPEN-FILE when it's not NIL."
(
declare
(
ignore
direction
))
(
when
direction-p
(
error
"Can't specif
i
y :DIRECTION for WITH-OUTPUT-TO-FILE."
))
(
error
"Can't specify :DIRECTION for WITH-OUTPUT-TO-FILE."
))
`
(
with-open-file*
(
,
stream-name
,
file-name
:direction
:output
,@
args
)
,@
body
))
...
...
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