Skip to content

Commit

Permalink
fix type signature for usingSafeDivide
Browse files Browse the repository at this point in the history
  • Loading branch information
GoNZooo committed May 25, 2021
1 parent 2293bc0 commit c6655e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basics/01-values-and-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ We can use `case` to immediately ask questions about this structure:
```haskell
import Prelude

usingSafeDivide :: String
usingSafeDivide :: Int -> Int -> String
usingSafeDivide x divisor =
-- Note how we use `case` here to deconstruct the result
case safeDivide x divisor of
Expand Down

0 comments on commit c6655e2

Please sign in to comment.