Re: 0-arity compound terms (was: Ann: SWI-Prolog 7.1.0)

Alan Baljeu <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
>I always used to think of atoms as special cases of compound terms:

>0-arity ones.
>
>What is the *motivation* for making a distinction here (did I miss it)?
>
>Kilian

a) Functional syntax for the new map thingy.
It's not clear to me the use-case motiviating this.


b) More conventional looking "domain specific languages".
I don't think this is remotely possible, so why even bother:

int f() { return 3; }
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.