[mercury-users] tutorial questions
michael at ndrix.org
Sat Dec 24 07:38:31 AEDT 2011
I've just finished compiling Mercury 11.07 and am starting to learn the
language based on the Tutorial. Some compiler messages I saw while trying
to break the Hello World example, suggest the Tutorial may be using
slightly outdated syntax.
Section 9.1 of the Language Reference Manual suggests that "." has replaced
"__" for referencing predicates inside a module. For new code, should I be
Section 2.11 of the Language Reference Manual suggests that state variable
notation should be used instead of DCG notation for the Hello World
example. Have I understood that correctly?
Thanks for your help and for an intriguing language.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users