Open brainrake opened 4 years ago
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
This makes elm reactor confusing for beginners. That's what i'm experiencing now. There isn't easy documentation about getting started with reactor to begin with -- it's a little too simple in the guide. I don't know what to expect when pointing at my "non-main" elm module file. So this change would help that, IMO.
Actually I like that oneliner in the docs: "use elm reactor
". How could it be simpler? And what would you need more? "For more info use elm --help
"?
Just found this thread, thank god - Learning Elm, this error is extremely confusing - Perhaps a warning can be thrown sometime during compilation?
Quick Summary: When loading a module without a main function from elm reactor, the following error message is displayed:
A better message would include a hint, eg.
SSCCE
Additional Information:
Running
elm make
on a file with nomain
results in a great error message.edit: clarify, add additional information