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{リスト}
396396入れこリストである{\em tree}のコピーを返す。
397397しかし、環状参照はできない。環状リストは、
398398{\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}を使用しないとコピーできない。}
400402
401403\funcdesc {mapc}{func arg-list \& rest more-arg-lists}{
402404{\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}
393393returns the copy of {\em tree} which may be a nested list
394394but cannot have circular reference. Circular lists can be copied by
395395{\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.}
397399
398400\funcdesc {mapc}{func arg-list \& rest more-arg-lists}{
399401applies {\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