Added guards.hs
This commit is contained in:
parent
ed7db004aa
commit
1a149d15d7
4
guards.hs
Normal file
4
guards.hs
Normal file
@ -0,0 +1,4 @@
|
||||
f x
|
||||
| x < 10 = print "This is a"
|
||||
| x > 10 = print "very poor"
|
||||
| otherwise = print "example."
|
Loading…
x
Reference in New Issue
Block a user