Re: Adding dot-notation in an ISO conforming manner

"Richard A. O'Keefe" <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
I seem to have missed something.

Does this mean that if I do
	write_canonical([a,b,c])
in some other Prolog, getting
	'.'(a, '.'(b, '.'(c, [])))
and then try to read this in SWI Prolog,
it will read as something *other* than [a,b,c]?

Why is this thought to be a good idea?

Oh well, since [] reads as the wrong kind of data
structure anyway, it was already broken.

But the *point* of write_canonical was to facilitate
data interchange between Prologs.

Changing the list constructors from '[]' and '.' is
looking like a worse and worse idea.

There isn't any problem with write_canonical reading
and writing strings, but getting list reading wrong
is, well, ...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.