From 162b8e109b8db5f986b22cd351746680c0a71f64 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 15 Apr 2015 17:45:58 +0200 Subject: [PATCH] Move emptyList to the top --- VL1.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VL1.tex b/VL1.tex index fdd049d..f21f367 100644 --- a/VL1.tex +++ b/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: