From: testie
Subject: *features* syntax reader
Date: 
Message-ID: <150120051553251434%never@spam.invalid>
My *features* includes a & b, but not c
How can I say :

#+ (and a b (not c))

(I cannot find anything in CLtL2)
Any help would be appreciated.

From: Edi Weitz
Subject: Re: *features* syntax reader
Date: 
Message-ID: <ubrbqptlx.fsf@agharta.de>
On Sat, 15 Jan 2005 15:53:25 +0000, testie <·····@spam.invalid> wrote:

> My *features* includes a & b, but not c
> How can I say :
>
> #+ (and a b (not c))

Like that.

> (I cannot find anything in CLtL2)

Look at the ANSI spec, CLtL2 is slightly older.

  <http://www.franz.com/support/documentation/7.0/ansicl/ansicl.htm>

See 2.4.8.17 and 24.1.2.

  <http://www.franz.com/support/documentation/7.0/ansicl/subsubse/sharps14.htm>
  <http://www.franz.com/support/documentation/7.0/ansicl/subsubse/featuree.htm>

Edi.

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq ·········@agharta.de" 5) "edi")
From: testie
Subject: Re: *features* syntax reader
Date: 
Message-ID: <150120051645369302%never@spam.invalid>
Many thanks for your amazingly fast help.
I get no joy with this (I'm using MCL 5.0).
At least I know it is meant to work, so will try to dissect.


In article <·············@agharta.de>, Edi Weitz <········@agharta.de>
wrote:

> On Sat, 15 Jan 2005 15:53:25 +0000, testie <·····@spam.invalid> wrote:
> 
> > My *features* includes a & b, but not c
> > How can I say :
> >
> > #+ (and a b (not c))
> 
> Like that.
> 
> > (I cannot find anything in CLtL2)
> 
> Look at the ANSI spec, CLtL2 is slightly older.
> 
>   <http://www.franz.com/support/documentation/7.0/ansicl/ansicl.htm>
> 
> See 2.4.8.17 and 24.1.2.
> 
>  
> <http://www.franz.com/support/documentation/7.0/ansicl/subsubse/sharps14.htm>
>   <http://www.franz.com/support/documentation/7.0/ansicl/subsubse/featuree.htm>
> 
> Edi.
From: testie
Subject: Re: *features* syntax reader
Date: 
Message-ID: <150120051713158820%never@spam.invalid>
Bug found (my code).  Thanks again for help.

In article <························@spam.invalid>, testie
<·····@spam.invalid> wrote:

> Many thanks for your amazingly fast help.
> I get no joy with this (I'm using MCL 5.0).
> At least I know it is meant to work, so will try to dissect.
> 
> 
> In article <·············@agharta.de>, Edi Weitz <········@agharta.de>
> wrote:
> 
> > On Sat, 15 Jan 2005 15:53:25 +0000, testie <·····@spam.invalid> wrote:
> > 
> > > My *features* includes a & b, but not c
> > > How can I say :
> > >
> > > #+ (and a b (not c))
> > 
> > Like that.
> > 
> > > (I cannot find anything in CLtL2)
> > 
> > Look at the ANSI spec, CLtL2 is slightly older.
> > 
> >   <http://www.franz.com/support/documentation/7.0/ansicl/ansicl.htm>
> > 
> > See 2.4.8.17 and 24.1.2.
> > 
> >  
> >
> > <http://www.franz.com/support/documentation/7.0/ansicl/subsubse/sharps14.htm>
> > 
> >   <http://www.franz.com/support/documentation/7.0/ansicl/subsubse/featuree.htm>
> > 
> > Edi.
From: Harald Hanche-Olsen
Subject: Re: *features* syntax reader
Date: 
Message-ID: <pco4qhik784.fsf@shuttle.math.ntnu.no>
+ testie <·····@spam.invalid>:

| My *features* includes a & b, but not c
| How can I say :
| 
| #+ (and a b (not c))

I don't understand the question.  Did you not say it, just now?

| (I cannot find anything in CLtL2)

Perhaps you should use the hyperspec instead.

  http://www.lispworks.com/documentation/HyperSpec/index.html
  http://www.lispworks.com/documentation/HyperSpec/Body/24_aba.htm

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- Debating gives most of us much more psychological satisfaction
  than thinking does: but it deprives us of whatever chance there is
  of getting closer to the truth.  -- C.P. Snow
From: Kalle Olavi Niemitalo
Subject: Re: *features* syntax reader
Date: 
Message-ID: <87acraipgl.fsf@Astalo.kon.iki.fi>
testie <·····@spam.invalid> writes:

> My *features* includes a & b, but not c
> How can I say :
>
> #+ (and a b (not c))

Be aware that this will test the features :A :B :C, rather than
symbols in some other package.