Elm Exactly

Rule 49sm-imports-empty

ImportsB,π⊢imports⇒π′\jdg{B, \pi}{\imports}{\pi'}
B,π⊢ ⇒π\frac{\begin{array}{c}\end{array}}{\begin{array}{c}\jdg{B, \pi}{\ }{\pi}\end{array}}
(49)
Read it in its chapter·Permanent address: /standard/rules/sm-imports-empty
TeX source
\defnrule[r:sm-imports-empty]
  {}
  {\jdg{B, \pi}{\ }{\pi}}

Tests (1)

  • elm / NoImportsTest
    A module with no imports elaborates and runs, with the default imports only.

Discussions

Discuss this rule·Search the discussions on GitHub

Discussions are on GitHub; one about this rule has [r:sm-imports-empty] 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.