Преглед на файлове

Move emptyList to the top

stripped-german
Julian Ospald преди 9 години
родител
ревизия
162b8e109b
No known key found for this signature in database GPG ключ ID: 220CD1C5BDEED020
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      VL1.tex

+ 2
- 2
VL1.tex Целия файл

@@ -366,12 +366,12 @@ list1 = [1, 2]
\pause
or by using the \emph{cons} operator \code{(:)} which takes an element and a list and produces a new list with the element prepended to the front.
\begin{lstlisting}
emptyList = []

list2 = 1 : []

-- is this really a list?
list3 = [1, 2] == 1 : 2 : []

emptyList = []
\end{lstlisting}
\pause
How about something more interesting:


Зареждане…
Отказ
Запис