浏览代码

Move emptyList to the top

stripped-german
Julian Ospald 9 年前
父节点
当前提交
162b8e109b
找不到此签名对应的密钥 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:


正在加载...
取消
保存