Re: "dict"ionary typing?

Alan Baljeu <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
>  One

> might reasonably use append/3 as a function in three different modes.  I
> haven't implemented it yet, but I'm considering a new feature for
> library(func) inspired by Ciao's notation.  Specifically, a single ~ marks
> the argument to be used as output for *this* call.
> 
>  ?- writeln(append([a,b],[c,d],~)).


Regrettably every practical character is available
for use in terms, except those few reserved by the 
language itself.  This is why I've been advocating that
if we do introduce new syntax, it ought to be optional
so we can still do as you write above.
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.