Added guards.hs

This commit is contained in:
anon 2024-03-10 15:57:35 +01:00
parent ed7db004aa
commit 1a149d15d7

4
guards.hs Normal file
View File

@ -0,0 +1,4 @@
f x
| x < 10 = print "This is a"
| x > 10 = print "very poor"
| otherwise = print "example."