Dollar sign.
Antoniotti Marco <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <[email protected]> |
Hi Apologies for the stupid question. I must be missing something with the dollar sign. I don’t quite understand what is going on in the following transcript. ?- $(foo) = X. X = $foo. ?- $(foo, bar) = X. X = $(foo, bar). ?- X = foo, $X. ERROR: toplevel: Undefined procedure: ($)/2 (DWIM could not correct goal) ?- X = foo, $(X). ERROR: toplevel: Undefined procedure: ($)/2 (DWIM could not correct goal) ?- X = foo, $(X, zot). ERROR: toplevel: Undefined procedure: ($)/2 (DWIM could not correct goal) ?- X = foo, $(zot, X). ERROR: toplevel: Undefined procedure: ($)/2 (DWIM could not correct goal) ?- $(foo, bar) = X. X = $(foo, bar). Does anybody have quick explanation about this? Thanks -- Marco Antoniotti, Associate Professor tel. +39 - 02 64 48 79 01 DISCo, Università Milano Bicocca U14 2043 http://bimib.disco.unimib.it Viale Sarca 336 I-20126 Milan (MI) ITALY Please note that I am not checking my Spam-box anymore. Please do not forward this email without asking me first. -------------- next part -------------- HTML attachment scrubbed and removed