Modules
In hop, every file corresponds to a module.
To import a function from another module the <import>
tag is used.
html
<import function="foo" from="bar"/>
Attributes | Use |
---|---|
function="…" | Specifies the name of the function that should be imported. |
from="…" | Specifies the name of the module that the function should be imported from. |