Re: Functional syntax

Alan Baljeu <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
>> ?- length(List, .calc(1 + 1)).

>> List = [_G1821, _G1824].


Or (1.1).calc() to match other syntax.

Jan wrote:
>I provisionally like this.  As there are several issues to be
>resolved wrt. function expansion in the first place, I'm not
>in a hurry though.  Note that right now, you can get this to
>work as expected (using is/calc/eval/...):

Can you elaborate what sort of issues need be resolved?
-------------- next part --------------
HTML attachment scrubbed and removed
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.