nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: wie in lisp defun durch setf ersetzen?

Von: Rainer Weikusat (rweikusat@mssgmbh.com) [Profil]
Datum: 05.11.2007 19:15
Message-ID: <87tzo0tv7u.fsf@fever.mssgmbh.com>
Newsgroup: de.comp.lang.misc
Benedikt Rosenau <rosenau@crow.addict.de> writes:
> Rainer Weikusat <rweikusat@mssgmbh.com> schrieb:
>
> [...]
>
>> (defmacro apply-sth (l &rest args)
>>  (let*
>>      ((vl (eval l))
>>       (fl (cond
>>            ((or (symbolp vl) (functionp vl)) `(quote ,vl))
>>            ((consp vl) `(lambda ,@vl))
>>            (T (error "don't know how to apply objects of type ~S"
(type-of vl))))))
>>    `(apply ,fl ',args)))
>
> Kein gensym fuer fl und vl?

?

[ Auf dieses Posting antworten ]

Antworten