Re: Two ASDF questions and a possible micro-bug

Nikodemus Siivola <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Daniel Weinreb <[email protected]> writes:

> What is the :weakly-depends-on feature intended to be for?

Consider a system that can use, say, hook into CL-PDF to produces
output if it has been installed, but doesn't need it for basic
operation. :weakly-depends-on can be used to effect just that.

> Is there ever a case where a component has no input files?  The code
> has a conditional that checks for this, but it's hard to see how it
> could ever arise, and perhaps it should signal an exception.

I don't see why it should be required: it doesn't seem a likely source
of problems, and someone may come up with a clever use for it.

> I think I have also spotted a possible bug:
>
> The comments at fwd-or-return-t say that if the file has been deleted,
> we could keep going after the warning.  But fwd-or-return-t would
> return t, which would then be given as an argument to "max", which
> expects to see only numbers.

The T is returned from OPERATION-DONE-P, not FWD-OR-RETURN-T -- see
RETURN-FROM.

Cheers,

  -- Nikodemus              Schemer: "Buddha is small, clean, and serious."
                   Lispnik: "Buddha is big, has hairy armpits, and laughs."


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.