elm / error-message-catalog

A catalog of broken Elm programs / data to improve error messages
BSD 3-Clause "New" or "Revised" License
173 stars 17 forks source link

Kebab case #239

Open ShalokShalom opened 7 years ago

ShalokShalom commented 7 years ago
is-negative n = n < 0

gives me:

-- SYNTAX PROBLEM -------------------------------------------- repl-temp-000.elm

The = operator is reserved for defining variables. Maybe you want == instead?
Or maybe you are defining a variable, but there is whitespace before it?

3|   is-negative n = n < 0

screenshot_20170908_063138