Re: Proposed ASDF modification
Nikodemus Siivola <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] writes: I've merged the OPERATE part of this, but didn't do the BIGGER-VERSION thing yet. As the manual is currently blantantly lying about the interface (it claims we have an operation called TEST-SYSTEM-VERSION -- we don't, we just export the symbol -- and implies that this operation is responsible for the :VERSION logic, which definitely isn't true) I wanted to think a bit more about how to go about the rest. My gut feeling would be to export VERSION-SATISFIES so that components can specialize on it, specialize it on two strings to do what BIGGER-VERSION does on lists of integers, and move the slot-unboundp logic to an around method. ...but at that point TEST-SYSTEM-VERSION becomes quite unnecessary and should be exiced from the documented interface (and possibly the export list too). The alternative would be to implement VERSION-SATISFIES as (defun version-satisfies (component version) (perform (make-instance 'test-system-version :min-version version) component)) which would keep the documented interface intact, but change the actual implemtation rather more. (I doubt that anyone has actually been specializing the unexported VERSION-SATISFIES, but you never know). Oh fun. By the by, the tests are back in working order. Cheers, -- Nikodemus Schemer: "Buddha is small, clean, and serious." Lispnik: "Buddha is big, has hairy armpits, and laughs." ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642