Why is NOT IN not interpreted

This forum is for any questions about the language Tutorial D or the Rel implementation of it.
Post Reply
Posts: 2
Joined: Mon Nov 26, 2018 5:50 am
Location: Croatia

Why is NOT IN not interpreted

Post by drago » Sun Dec 16, 2018 5:59 am

currently NOT IN is not supported. I see no reason for this.

For example the following query is not valid:
P WHERE TUPLE {weight weight} NOT IN (P WHERE city = 'Paris'){ weight}
and has to written as:
P WHERE NOT (TUPLE {weight weight} IN (P WHERE city = 'Paris'){ weight})

Could this be added ?


Site Admin
Posts: 368
Joined: Sun Nov 27, 2005 7:19 pm

Re: Why is NOT IN not interpreted

Post by Dave » Sun Dec 16, 2018 9:57 pm

I suppose it could be added as a Rel-specific extension, but I don't recall Tutorial D specifying NOT IN or equivalent.

Post Reply