Elm Exactly

Restrictionmodules-header

Stated in Section 3.7 Syntactic Restrictions.

Every module begins with a header, module modid\modid exposing explist\explist or port module modid\modid exposing explist\explist. A text that does not begin with a header is not a module of Standard Elm.

Read it in its chapter·Permanent address: /standard/restrictions/modules-header

Tests (1)

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.