File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -396,7 +396,9 @@ \subsection{リスト}
396
396
入れこリストである{\em tree}のコピーを返す。
397
397
しかし、環状参照はできない。環状リストは、
398
398
{\bf copy-object}でコピーできる。
399
- 実際に、{\bf copy-tree}は{\tt (subst t t tree)}と簡単に記述される。}
399
+ 実際に、{\bf copy-tree}は{\tt (subst t t tree)}と簡単に記述される。
400
+ なお{\bf copy-tree}は{\em list}しかコピーできず、
401
+ {\em float-vector}などは{\bf copy-seq}を使用しないとコピーできない。}
400
402
401
403
\funcdesc {mapc}{func arg-list \& rest more-arg-lists}{
402
404
{\em arg-list}や{\em more-arg-lists}それぞれのN番目($ N=0 ,1 ,\cdots $ )の要素からなるリストに
Original file line number Diff line number Diff line change @@ -393,7 +393,9 @@ \subsection{Lists}
393
393
returns the copy of {\em tree} which may be a nested list
394
394
but cannot have circular reference. Circular lists can be copied by
395
395
{\bf copy-object}.
396
- Actually, {\bf copy-tree} is simply coded as {\tt (subst t t tree)}.}
396
+ Actually, {\bf copy-tree} is simply coded as {\tt (subst t t tree)}.
397
+ Be careful that {\bf copy-tree} only return the copy of {\em list},
398
+ and you need to use {\bf copy-seq} to copy {\em float-vector} and so on.}
397
399
398
400
\funcdesc {mapc}{func arg-list \& rest more-arg-lists}{
399
401
applies {\em func} to a list of N-th elements in {\em arg-list} and each of
You can’t perform that action at this time.
0 commit comments