Move emptyList to the top

Este commit está contenido en:
Julian Ospald 2015-04-15 17:45:58 +02:00
padre ac19614251
commit 162b8e109b
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 220CD1C5BDEED020
Se han modificado 1 ficheros con 2 adiciones y 2 borrados

Ver fichero

@ -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: