
9 Sep
2002
9 Sep
'02
9:49 a.m.
Simon Marlow wrote:
| > - I can add my own packages, can I add my own modules to | > the hierarchy? | | Yes, a package can contain hierarchical modules.
So how do I add a hierarchical module?
Suppose you want to have a package containing module Foo.Bar.Baz. You make a package spec containing the line import_dirs=["D"], for some directory D, and you put Baz.hi in D/Foo/Bar/Baz.hi. Cheers, Simon
8387
Age (days ago)
8387
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow