Loading doc/GNUmakefile +3 −3 Original line number Diff line number Diff line SOURCES=iterate-bare.tex iter-man.tex DUMMY_INDEXES=iter-man.ind SOURCES=iterate-bare.tex iterate-manual.tex DUMMY_INDEXES=iterate-manual.ind MKIDX=makeindex MKIDXFLAGS=-l LATEX=latex all: iter-bare.ps iter-man.ps iter-bare.pdf iter-man.pdf all: iterate-bare.pdf iterate-manual.pdf iterate-bare.ps iterate-manual.ps %.dvi: %.tex touch $*.ind $*.idx Loading doc/iter-bare.tex→doc/iterate-bare.tex +0 −0 File moved. View file doc/iter-man.tex→doc/iterate-manual.tex +27 −4 Original line number Diff line number Diff line Loading @@ -1031,6 +1031,29 @@ function, then it is called on ~expr~ instead of being evaluated. \end{clauses} \subsubsection{Boolean Tests} \begin{clauses} \clausex{first-iteration-p}{} Returns |t| in the first cycle of the loop, otherwise \nil. \clausex{first-time-p}{} Returns |t| the first time the expression is evaluated, and then \nil\ forever. This clause comes handy when printing (optional) elements separated by a comma: \begin{program} (iter (for el in '(nil 1 2 nil 3)) (when el (unless (first-time-p) (princ ", ")) (princ el))) \end{program} produces |"1, 2, 3"|. \end{clauses} \subsubsection{Aggregated Boolean Tests} \begin{clauses} Loading Loading @@ -2024,19 +2047,19 @@ Siskind helped ferret out many bugs. %\begin{theindex} % The index files must be generated with the genindex program % or from makeindex iter-man.idx which creates iter-man.ind. % or from makeindex iterate-manual.idx which creates iterate-manual.ind. %\baselineskip\normalbaselineskip %\advance\baselineskip by -2pt \input{iter-man.ind} \input{iterate-manual.ind} %\underline{Clauses} %\input{iter-man.clindex} %\input{iterate-manual.clindex} % %\indexspace %\underline{Lisp} %\input{iter-man.lispindex} %\input{iterate-manual.lispindex} %\end{theindex} Loading Loading
doc/GNUmakefile +3 −3 Original line number Diff line number Diff line SOURCES=iterate-bare.tex iter-man.tex DUMMY_INDEXES=iter-man.ind SOURCES=iterate-bare.tex iterate-manual.tex DUMMY_INDEXES=iterate-manual.ind MKIDX=makeindex MKIDXFLAGS=-l LATEX=latex all: iter-bare.ps iter-man.ps iter-bare.pdf iter-man.pdf all: iterate-bare.pdf iterate-manual.pdf iterate-bare.ps iterate-manual.ps %.dvi: %.tex touch $*.ind $*.idx Loading
doc/iter-man.tex→doc/iterate-manual.tex +27 −4 Original line number Diff line number Diff line Loading @@ -1031,6 +1031,29 @@ function, then it is called on ~expr~ instead of being evaluated. \end{clauses} \subsubsection{Boolean Tests} \begin{clauses} \clausex{first-iteration-p}{} Returns |t| in the first cycle of the loop, otherwise \nil. \clausex{first-time-p}{} Returns |t| the first time the expression is evaluated, and then \nil\ forever. This clause comes handy when printing (optional) elements separated by a comma: \begin{program} (iter (for el in '(nil 1 2 nil 3)) (when el (unless (first-time-p) (princ ", ")) (princ el))) \end{program} produces |"1, 2, 3"|. \end{clauses} \subsubsection{Aggregated Boolean Tests} \begin{clauses} Loading Loading @@ -2024,19 +2047,19 @@ Siskind helped ferret out many bugs. %\begin{theindex} % The index files must be generated with the genindex program % or from makeindex iter-man.idx which creates iter-man.ind. % or from makeindex iterate-manual.idx which creates iterate-manual.ind. %\baselineskip\normalbaselineskip %\advance\baselineskip by -2pt \input{iter-man.ind} \input{iterate-manual.ind} %\underline{Clauses} %\input{iter-man.clindex} %\input{iterate-manual.clindex} % %\indexspace %\underline{Lisp} %\input{iter-man.lispindex} %\input{iterate-manual.lispindex} %\end{theindex} Loading