diff --git a/guards.hs b/guards.hs new file mode 100644 index 0000000..a26d938 --- /dev/null +++ b/guards.hs @@ -0,0 +1,4 @@ +f x + | x < 10 = print "This is a" + | x > 10 = print "very poor" + | otherwise = print "example."