mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Viel zu Haskell ergänzt; Funktionen höherer Ordnung beschrieben
This commit is contained in:
parent
aa2454bb30
commit
78368fa6e9
17 changed files with 220 additions and 24 deletions
|
@ -0,0 +1,12 @@
|
|||
Prelude> head []
|
||||
*** Exception: Prelude.head: empty list
|
||||
Prelude> tail []
|
||||
*** Exception: Prelude.tail: empty list
|
||||
Prelude> tail [1]
|
||||
[]
|
||||
Prelude> head [1]
|
||||
1
|
||||
Prelude> null []
|
||||
True
|
||||
Prelude> null [[]]
|
||||
False
|
Loading…
Add table
Add a link
Reference in a new issue