Elm Exactly

Restrictionprogram-import-order

Stated in Section 9.1 Syntax of Programs.

Each module of a program imports only modules of the initial basis and modules that stand before it in the program.

Read it in its chapter·Permanent address: /standard/restrictions/program-import-order

Tests (1)

In Lean

This restriction is decided on the syntax tree, as the book states it, by Src.ImportOrder (StandardElmMech/Src/Restrictions.lean, line 353), whose decider the kernel runs; each written test program has a theorem that it meets the restrictions, or that it breaks this one. Broken by: ImportCycleTest, StandardA91BasicsAliasTest.

Discussions

Discuss this restriction·Search the discussions on GitHub

Discussions are on GitHub; one about this restriction has [res:program-import-order] 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.