Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Carl Shapiro
cmucl
Commits
b17464d1
Commit
b17464d1
authored
33 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Changed NCONC to signal an error if a non-null ATOM appears other than as the
last argument.
parent
1183fd0d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/list.lisp
+5
-2
5 additions, 2 deletions
code/list.lisp
with
5 additions
and
2 deletions
code/list.lisp
+
5
−
2
View file @
b17464d1
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/list.lisp,v 1.
9
199
1/11/05 15:10:26
ram Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/list.lisp,v 1.
10
199
2/01/27 10:56:05
ram Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -341,7 +341,10 @@
(
t
(
error
"Argument is not a list -- ~S."
ele
)))))
(
return
result
)))
(
null
)
(
atom
(
return
top-of-top
))
(
atom
(
if
(
cdr
top
)
(
error
"Argument is not a list -- ~S."
top-of-top
)
(
return
top-of-top
)))
(
t
(
error
"Argument is not a list -- ~S."
top-of-top
))))))
(
defun
nreconc
(
x
y
)
...
...
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