You can now load variants of ZULU as follows: load 'format/zulu/lite' load 'format/zulu/bare'
See updated: http://www.jsoftware.com/jwiki/Addons/format/zulu (...which provides a rationale for the addon.) On Tue, Sep 18, 2012 at 9:39 PM, Ric Sherlock <tikk...@gmail.com> wrote: > On Wed, Sep 19, 2012 at 7:52 AM, Ian Clark <earthspo...@gmail.com> wrote: >> >> Yes, I too would like to combine the whole thing in one single addon. >> You'll recall the extensive correspondence (17 posts) that followed my >> original proposal to do just this, and how best to do it? >> http://www.jsoftware.com/pipermail/programming/2012-September/029259.html >> The LAPACK way would be to keep separate "loader" scripts in >> format/zulu and run them like this: >> load 'format/zulu/lite' >> load 'format/zulu/bare' >> ...etc. >> I can have as many loader scripts as I can fancy a need for. A lot >> less trouble than releasing and maintaining three separate addons. But >> I got the hint from the forum that using load/require in this way is >> "untidy", and that the preferred programmer interface for using any >> addon is quite simply: >> load 'category/addon' > > I don't think you should see this as untidy. I don't believe that this > functionality is undesirable or unintended. I suggest you have the > main/default package named zulu.ijs, but that you include your other > scripts in the same addon. Then (load 'format/zulu') will work and > load the script most users will need, but (load 'format/zulu/lite') > and (load 'format/zulu/bare') will work too if the user needs them. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm