[jhc] bug in handling of -p flag

David Roundy roundyd at physics.oregonstate.edu
Sun Sep 13 17:21:35 EDT 2009


Hi John,

It looks like the handling of the -p flag is buggy, or at least
counterintuitive.  I've started playing with your new --list-libraries
output, and I can now figure out which packages export which modules,
which is great.  What's not so great is that there doesn't seem to be
a way to uniquely specify the package that I want to import.  It seems
that only the BaseName is supported with -p, so I can't use either the
Name, or the FilePath, or the hash of the library I want.  It's not a
huge deal, since usually one wants the first version of the library in
the path, but it'd be much nicer to allow us to specify any of those
four specifiers, BaseName, Name, FilePath *or* hash.  I'm not sure
what I'd want franchise to do.  Either FilePath or hash is unique, and
FilePath is much friendlier to read.  But neither is as user-friendly
as Name.
-- 
David Roundy


More information about the jhc mailing list