cclan-get.lisp: DEFGENERIC does not take a Spacialized Lambda List!
Pascal J.Bourguignon <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Organization | InformatiMago. |
| Message-ID | <[email protected]> |
In ./cclan-get/cclan-get.lisp, line 46 we find:
(defgeneric download-file ((repository repository) pathname)
This is not Common-Lisp!
http://www.lispworks.com/reference/HyperSpec/Body/m_defgen.htm
Syntax:
defgeneric function-name gf-lambda-list [[option | {method-description}*]]
Arguments and Values:
gf-lambda-list---a generic function lambda list
http://www.lispworks.com/reference/HyperSpec/Body/03_db.htm
A generic function lambda list has the following syntax:
lambda-list::= (var*
[&optional {var | (var)}*]
[&rest var]
[&key {var | ({var | (keyword-name var)})}* [&allow-other-keys]])
Please, substitute that line with:
(defgeneric download-file (repository pathname)
<plug> You may use my insert-generics emacs command to gather the
DEFMETHOD in a common-lisp source and insert corresponding,
syntactically correct, DEFGENERIC.
Check http://www.informatimago.com/develop/emacs/index.html </plug>
--
__Pascal Bourguignon__ http://www.informatimago.com/
To vote Democrat or Republican, it's like changing of cabin in the Titanic.
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl