소스 검색

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:


불러오는 중...
취소
저장