Skip to content

Commit

Permalink
Добавяне на преамбюл за избягване на бъг с автоматичната компилация
Browse files Browse the repository at this point in the history
  • Loading branch information
triffon committed Dec 5, 2024
1 parent 7acffda commit bfbc5f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 1.4-scheme_lists.tex
Original file line number Diff line number Diff line change
Expand Up @@ -511,18 +511,18 @@ \section{Функции от по-висок ред за списъци}
\pause\pause
Можем ли да пропуснем нулевата стойност за непразен списък?\\[2ex]
\begin{tabular}{ll}
\pause
\onslide<+->
$a_1 \oplus \big(\ldots \oplus (a_{n-1} \oplus a_n) \ldots\big)$
& \pause
& \onslide<+->
\begin{lstlisting}
(define (foldr1 op l)
(if (null? (cdr l)) (car l)
(op (car l)
(foldr1 op (cdr l)))))
\end{lstlisting}\\[6ex]
\pause
\end{lstlisting} \\[6ex]
\onslide<+->
$\big(\ldots\big((a_1 \oplus a_2) \oplus \ldots\big) \oplus a_n$
& \pause
& \onslide<+->
\begin{lstlisting}
(define (foldl1 op l)
(foldl op (car l) (cdr l)))
Expand Down

0 comments on commit bfbc5f8

Please sign in to comment.