Restrictionmodules-header
Every module begins with a header, module exposing or port module exposing . A text that does not begin with a header is not a module of Standard Elm.
Tests (1)
- elm / ModuleHeaderMissingImportedTestA module that imports a file with no `module` line is rejected.
Discussions
Discuss this restriction·Search the discussions on GitHub
Discussions are on GitHub; one about this restriction has [res:modules-header] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.