You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a lean package with just a single file, there is no need for the boilerplate overhead of init.q. At least, init.q should be optional, not mandatory.
$ ls $QPATH/my-1.0.0
my.q
$ cat $QPATH/my-1.0.0/my.q
\d .my
Hm. You know I don't know if I completely remember the reasoning for doing it just this way. I think I was just emulating what Python packages did since I like most of how namespace resolution works in Python 3.
In a lean package with just a single file, there is no need for the boilerplate overhead of
init.q
. At least,init.q
should be optional, not mandatory.This conditional statement:
qutil/lib/bootstrap.q
Line 17 in 2bce9de
will resolve to false even for single-file directory:
Was it intended?
I propose changing the line to:
That will nicely cover all scenarios:
The text was updated successfully, but these errors were encountered: