Content deleted Content added
m No need to link to the same place twice in two words Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit |
|||
Line 117:
== Example ==
The syntax for expressing constraints over finite domains depends on the host language. The following is a [[Prolog]] program that solves the classical [[alphametic]] puzzle
<syntaxhighlight lang="prolog">
% This code works in both YAP and SWI-Prolog using the environment-supplied
|