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.<div>
<br></div><div>Section 9.1 of the Language Reference Manual suggests that "." has replaced "__" for referencing predicates inside a module. For new code, should I be using "."?<div><br></div>
<div>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?</div>
<div><div><br></div><div>Thanks for your help and for an intriguing language.</div><div><br></div><div>-- </div>Michael<br>
</div></div>