Elm version 0.19.0
The elm repl identifies an error when using the equality testing operator. For example:
1 == 1
– PARSE ERROR ---------------------------------
Something went wrong with your code.
3| 1 == 1
I was expecting :
- a declaration, like
x = 5
ortype alias Model = { ... }
- the
import
keyword - a doc comment, like {-| this -}
Other comparison operators (e.g. /=, <=, >=) work as expected. Also placing the equality check in parentheses also works: (1 == 1).
Am I misunderstanding something?