mirror of
https://github.com/chrisdone/duet.git
synced 2024-09-11 12:15:43 +03:00
Add string pats
This commit is contained in:
parent
c23b043068
commit
8c3eb90c3d
3
examples/string-pats.hs
Normal file
3
examples/string-pats.hs
Normal file
@ -0,0 +1,3 @@
|
||||
main = case "foo" of
|
||||
"bar" -> 0
|
||||
"foo" -> 1
|
Loading…
Reference in New Issue
Block a user