[asdf-devel] duplicate-names for module and file with same name?

Robert Goldman rpgoldman at sift.info
Fri Nov 27 14:09:24 UTC 2009


Jianshi Huang wrote:
> Hi,
> 
> Currently in parse-component-form function, duplication of names are
> checked but modules and files are put to the same category. Is there
> any particular reason for this restriction?

They are in the same namespace.
> 
> e.g. I can't have both
> 
> foo.lisp
> foo/
> 
> in the same folder since (:module :foo) and (:file "foo") will
> conflict in names.

AFAICT this is the Right Thing, since (:depends-on ("foo")) has no way
of knowing whether you mean the module or the file....

Best,
r




More information about the asdf-devel mailing list