doubts about lists - part 2

I should clarify myself in the previous post.

I was not proposing to drop lists from the syntax, but rather to drop the
semantic part altogether.
Since we have function symbols, as Hassan noted, let's just treat lists as
syntactic sugar.

We can have symbols, rif:listPair and rif:nilList, and
encode things like Seq(X,Y|W) in the usual way:
rif:listPair(X,rif:listPair(Y, rif:listPair(W,nilList)).

There is a slight problem with the fact that equality can make
Seq(a,b) equal Seq(a,b,c). (Say, by equating these two the same IRI.)
But we had the same problem with the semantics of lists.

Now I am thinking that it is easier to fix that through the semantics than
through syntactic restrictions. But it is not clear whether we should care
that distinct lists might become equal.

Any thoughts?


	--michael  

Received on Wednesday, 12 March 2008 13:50:58 UTC