Skip to content

Commit

Permalink
Родобрение, забелязано на лекции
Browse files Browse the repository at this point in the history
  • Loading branch information
triffon committed Dec 4, 2024
1 parent 3d49dd5 commit 807ef20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2.4-haskell_lazy.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

\title[Лениво оценяване]{Лениво оценяване и програмиране от по-висок ред}

\date{4 декември 2024 г.}
\date{4--11 декември 2024 г.}

\lstset{language=Haskell,style=Haskell}

Expand Down Expand Up @@ -404,7 +404,7 @@ \section{Потоци}
Отделянето на списъци работи и за безкрайни списъци.\pause
\begin{itemize}[<+->]
\item \tt{oddSquares = \rvl{[ x\^{}2 | x <- [1,3..] ]}}
\item {\small\tt{twins = \rvl{[ (x,x+2) | x <- [3..], isPrime x, isPrime
\item {\small\tt{twins = \rvl{[ (x,x+2) | x <- [3,5..], isPrime x, isPrime
(x+2) ]}}}
\item \tt{pairs = \rvl{[ (x,y) | x <- [0..], y <- [0..x - 1] ]}}
\item \tt{pythagoreanTriples = \rvl{
Expand Down

0 comments on commit 807ef20

Please sign in to comment.