Fix pattern matching example (#3697)

This commit is contained in:
Moritz Kiefer 2019-12-02 17:20:25 +01:00 committed by GitHub
parent c1319451bf
commit 5a46777855
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,4 +23,4 @@ tmp =
in case l of
[] -> "List is empty"
_ :: [] -> "List has one element"
_ :: _ :: [] -> "List has at least two elements"
_ :: _ :: _ -> "List has at least two elements"