Added 'Haskell/guards.hs'

This commit is contained in:
anon 2024-12-10 20:39:01 +01:00
parent 26c04dd6d4
commit 69b82199cc

4
Haskell/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."