W3C home > Mailing lists > Public > public-cwm-bugs@w3.org > May 2005

[closed] Re: list builtins do not mix with list pattern matching

From: Yosi Scharf <syosi@MIT.EDU>
Date: Wed, 25 May 2005 22:07:41 -0400
Message-ID: <42952F6D.5000907@mit.edu>
To: Yosi Scharf <syosi@MIT.EDU>
CC: public-cwm-bugs@w3.org

Yosi Scharf wrote:

> Ok. I found the bug. list builtins do not mix with list pattern 
> matching. Why is still not investigated.
>
> The attached n3 file is a minimal testcase.
>
>
> Yosi
>
>------------------------------------------------------------------------
>
>@keywords a, of, the, is, has, prefix .
>@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
>
>((q)) a Thing .
>
>{?X a Thing .
> ?X rdf:rest ?Y}
>=>
>{?Y a Thing } .
>
>{?X a Thing;
>    rdf:first (?B)}
>=>
>{?B a GreatThing} .
>  
>
I have checked in a fix. The test is 
http://www.w3.org/2000/10/swap/test/list/detailed.tests#t2007 (if I can 
spell)


Yosi
Received on Thursday, 26 May 2005 02:07:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:59 GMT