[Bese-devel] darcs patch: Add :fiveam to *features*
Andreas Fuchs
asf at boinkor.net
Fri Aug 12 15:40:37 UTC 2005
Today, Marco Baringer <mb at bese.it> wrote:
> Andreas Fuchs <asf at boinkor.net> writes:
>> Today, Marco Baringer <mb at bese.it> wrote:
>>> (defun :fiveam ()
>>> (if (find-package :it.bese.fiveam)
>>> '(and)
>>> '(or)))
>>
>> Careful, there!
>
> um, the function definition is not read in the keyword
> package.
Right, so symbols it returns should be in the keyword package. It
should be '(:or) and '(:and), not '(or) and '(and).
> notice that the function is named :FIVEAM so you can use it like
> this: #+#.(fiveam) since the string "fiveam" _will_ be read in the
> keyword package.
Correct.
--
Andreas Fuchs, <asf at boinkor.net>, asf at jabber.at, antifuchs
More information about the bese-devel
mailing list