From bfbc5f82f47d615a7b59bf3a6d6e252ad95d0cb9 Mon Sep 17 00:00:00 2001 From: Trifon Trifonov Date: Thu, 5 Dec 2024 01:31:24 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D1=8F=D0=BD?= =?UTF-8?q?=D0=B5=20=D0=BD=D0=B0=20=D0=BF=D1=80=D0=B5=D0=B0=D0=BC=D0=B1?= =?UTF-8?q?=D1=8E=D0=BB=20=D0=B7=D0=B0=20=D0=B8=D0=B7=D0=B1=D1=8F=D0=B3?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B5=20=D0=BD=D0=B0=20=D0=B1=D1=8A=D0=B3=20?= =?UTF-8?q?=D1=81=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BC=D0=B0=D1=82=D0=B8=D1=87?= =?UTF-8?q?=D0=BD=D0=B0=D1=82=D0=B0=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Източник: https://tex.stackexchange.com/a/720346 --- 1.4-scheme_lists.tex | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/1.4-scheme_lists.tex b/1.4-scheme_lists.tex index ab50a8a..53c1401 100644 --- a/1.4-scheme_lists.tex +++ b/1.4-scheme_lists.tex @@ -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)))