Lesson 12 of 15 · +140 xp

Guards

Pipe conditions.

Explained simply

Your task

Write: sign x | x > 0 = 1 | otherwise = 0

guards.haskell
← Back