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
19ed56f3
"README.md" did not exist on "5215dc7af8972377d672431ddcc45e09558a8340"
Commit
19ed56f3
authored
15 years ago
by
agoncharov
Browse files
Options
Downloads
Patches
Plain Diff
A slight change of wording in the first sentence (and a new line after it).
parent
eca422cf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/list.lisp
+10
-10
10 additions, 10 deletions
code/list.lisp
with
10 additions
and
10 deletions
code/list.lisp
+
10
−
10
View file @
19ed56f3
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/list.lisp,v 1.3
6
2009/07/17
02:15:04
agoncharov
Exp
$"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/list.lisp,v 1.3
7
2009/07/17
14:27:10
agoncharov
Rel
$"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -256,15 +256,15 @@
;;; using splice which cdr's down the end of the new list
(
defun
append
(
&rest
args
)
"
Usually, but not always
, returns a new list that is the
concatenation of Args. Each Arg in Args must be a proper list except
the last one, which may be any object. The function is not
destructive: for all but the last Arg, its list structure is copied.
The
last
a
rg
ument is not copied; it becomes the cdr of the final
dotted pair of the concatenation of the preceding lists, or is
returned directly if there are no preceding non-empty lists. In the
latter case, if the last Arg is not a list, the returned value is
not a list either."
"
Typically
, returns a new list that is the
concatenation of Args.
Each Arg in Args must be a proper list except the last one, which
may be any object. The function is not destructive: for all but the
last
A
rg
, its list structure is copied. The last argument is not
copied; it becomes the cdr of the final dotted pair of the
concatenation of the preceding lists, or is returned directly if
there are no preceding non-empty lists. In the latter case, if the
last Arg is not a list, the returned value is
not a list either."
(
do
((
top
args
(
cdr
top
)))
;;Cdr to first non-null list.
((
atom
top
)
'
())
...
...
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