Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello World should start with a module line #16

Open
linkerstorm opened this issue Jan 1, 2020 · 1 comment
Open

Hello World should start with a module line #16

linkerstorm opened this issue Jan 1, 2020 · 1 comment

Comments

@linkerstorm
Copy link

When the Hello World snippet is copied/pasted in Ellie, the latter complains about the missing first line "module Main exposing (..)".

Should be fixed ?

@gasacchi
Copy link

i don't know about ellie, but as mention here

Note: If you forget to add a module declaration, Elm will use this one instead:

module Main exposing (..)
This makes things easier for beginners working in just one file. They should not be confronted with the module system on their first day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants