NTH is obsolete.

This commit is contained in:
sperber 2002-01-07 13:04:14 +00:00
parent f576d77afc
commit 1f08335a4d
2 changed files with 7 additions and 1 deletions

View File

@ -205,6 +205,9 @@ We now manage the project using SourceForge:
The default directory for creating temporary files changed: It's now The default directory for creating temporary files changed: It's now
$TMPDIR if set and /var/tmp otherwise $TMPDIR if set and /var/tmp otherwise
The nth procedure is still there but is now officially obsolete. It
will go away in a future release.
** HTML version of the manual ** HTML version of the manual
There is now a HTML version of the scsh manual generated by tex2page There is now a HTML version of the scsh manual generated by tex2page

View File

@ -18,7 +18,7 @@
\end{desc} \end{desc}
\section{List procedures} \section{List procedures}
\defun{nth}{list i}\object \dfn{nth}{list i}{object}{procedure \textbf{(obsolete)}}
\begin{desc} \begin{desc}
Returns the $i^{\mathrm th}$ element of \var{list}. Returns the $i^{\mathrm th}$ element of \var{list}.
The first element (the car) is \ex{(nth \var{list} 0)}, The first element (the car) is \ex{(nth \var{list} 0)},
@ -26,6 +26,9 @@ the second element is \ex{(nth \var{list} 1)}, and so on.
This procedure is provided as it is useful for accessing elements This procedure is provided as it is useful for accessing elements
from the lists returned by the field-readers (chapter~\ref{chapt:fr-awk}). from the lists returned by the field-readers (chapter~\ref{chapt:fr-awk}).
The functionality of \ex{nth} is equivalent to that of \R4RS{}'s
\ex{list-ref}. Therefore, \ex{nth} will go away in a future release.
\end{desc} \end{desc}