Open brobrts opened 8 years ago
Having looked a bit into it, I think the repl simply is restricted to only accept definitions of the form
functionName args = ...
with an actual function name string in that first place. (It's how bindings are organized in the repl implementation in this repository: as mappings from strings to definitions.)
No other ways that are possible for defining stuff in Elm code are supported in the repl. The issue here is like https://github.com/elm-lang/elm-repl/issues/68.
This works in the architecture examples - (=>) = (,) - but gets the following error in the tutorials.
I ran into something unexpected when parsing your code!
4│ => ^ I am looking for one of the following things: