tests/guards.hs
2024-03-10 15:57:35 +01:00

5 lines
105 B
Haskell

f x
| x < 10 = print "This is a"
| x > 10 = print "very poor"
| otherwise = print "example."