December 2021
Beginner
840 pages
47h 29m
English
The following are a set of interrelated impurities in Prolog with respect to predicate calculus:
The Capability to Impart Control: To conduct pure declarative programming, the programmer should be neither permitted nor required to affect the control flow for program success. However, as a practical matter, sometimes a Prolog programmer must be aware of, if not affect, program control, as a consequence of a depth-first search strategy. Unlike declarative programming in Prolog, using a declarative style of programming in the Mercury programming language is considered more pure because Mercury does not support a cut operator or other control facilities intended to circumvent or ...
Read now
Unlock full access