Include a file: Difference between revisions
Content added Content deleted
(Add Nimrod) |
|||
Line 494: | Line 494: | ||
... // be specified in one location |
... // be specified in one location |
||
}</lang> |
}</lang> |
||
=={{header|Nimrod}}== |
|||
After <code>import someModule</code> an exported symbol <code>x</code> can be accessed as <code>x</code> and as <code>someModule.x</code>. |
|||
<lang nimrod>import someModule |
|||
import strutils except parseInt |
|||
import strutils as su, sequtils as qu # su.x works |
|||
import lib.pure.strutils, lib/pure/os, "lib/pure/times" # still strutils.x |
|||
</lang> |
|||
=={{header|OCaml}}== |
=={{header|OCaml}}== |