Rule 53sm-item-op
Exposing Items
(53)
Comments
TeX source
\defnrule[r:sm-item-op]
{\opv \in \smops(\modid)}
{\jdg{\modid, I}{\kw{(}\opv\kw{)}}{(\emptyset, \emptyset)}}Tests (2)
- elm / ImportOperatorItemTestImporting an operator by name checks that the module has it, and binds nothing new.
- elm / ImportUnknownOperatorTestAn import cannot name an operator its module does not have.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:sm-item-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.