[Bese-devel] darcs patch: Add :fiveam to *features*
Marco Baringer
mb at bese.it
Fri Aug 12 15:37:22 UTC 2005
Andreas Fuchs <asf at boinkor.net> writes:
> Today, Marco Baringer <mb at bese.it> wrote:
>> Alan Shields <Alan-Shields at omrf.ouhsc.edu> writes:
>>
>>> Thu Aug 11 16:20:32 CDT 2005 Alan Shields
>>> <Alan-Shields at omrf.ouhsc.edu>
>>> * Add :fiveam to *features*
>>> I've found that I prefer to add testing code in my other code, but I dislike
>>> adding :fiveam to my package requirements list.
>>
>> i am hesitant to modify *features*, it's not really supposed to be
>> used for this (afaict). you could do this:
>>
>> (defun :fiveam ()
>> (if (find-package :it.bese.fiveam)
>> '(and)
>> '(or)))
>
> Careful, there!
um, the function definition is not read in the keyword package. 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.
--
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen
More information about the bese-devel
mailing list