Rule 120dm-expitem-op
Exposing Items
(120)
Comments
An operator is not in the domain of a value environment: its value is given by the operator table , and is the same in every module (rule (68)). Exposing or importing an operator therefore binds nothing.
TeX source
\defnrule[r:dm-expitem-op]
{}
{\jdg{I}{\kw{(}\opv\kw{)}}{(\emptyset,\emptymap,\emptymap)}}Tests (1)
- elm / ImportOperatorItemTestImporting an operator by name checks that the module has it, and binds nothing new.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:dm-expitem-op] 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.