mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
Fix pattern matching example (#3697)
This commit is contained in:
parent
c1319451bf
commit
5a46777855
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user