summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/ancestor_2
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-01-13 16:35:48 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-01-13 16:35:48 +0100
commit2e900dd0317299294f4cb27213be6f5b36d4b8b8 (patch)
tree25fb6767406b8354da92b2ac0883a5bdeef05457 /prolog/problems/family_relations/ancestor_2
parent388b32039898cc8f1784378689007254eb7a33b6 (diff)
Use argument mode indicators in Prolog problem descriptions
Diffstat (limited to 'prolog/problems/family_relations/ancestor_2')
-rw-r--r--prolog/problems/family_relations/ancestor_2/en.py2
-rw-r--r--prolog/problems/family_relations/ancestor_2/sl.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/prolog/problems/family_relations/ancestor_2/en.py b/prolog/problems/family_relations/ancestor_2/en.py
index 588de83..f4db6ef 100644
--- a/prolog/problems/family_relations/ancestor_2/en.py
+++ b/prolog/problems/family_relations/ancestor_2/en.py
@@ -4,7 +4,7 @@ name = 'ancestor/2'
slug = 'the ancestor relation'
description = '''\
-<p><code>ancestor(X, Y)</code>: <code>X</code> is an ancestor (parent, grandparent,...) of <code>Y</code>.</p>
+<p><code>ancestor(?X, ?Y)</code>: <code>X</code> is an ancestor (parent, grandparent, …) of <code>Y</code>.</p>
<pre>
?- ancestor(patricia, X).
X = john ;
diff --git a/prolog/problems/family_relations/ancestor_2/sl.py b/prolog/problems/family_relations/ancestor_2/sl.py
index 9e5c9bf..0308cde 100644
--- a/prolog/problems/family_relations/ancestor_2/sl.py
+++ b/prolog/problems/family_relations/ancestor_2/sl.py
@@ -4,7 +4,7 @@ name = 'ancestor/2'
slug = 'X je prednik od Y'
description = '''\
-<p><code>ancestor(X, Y)</code>: <code>X</code> je prednik (oče, mama, dedek, ...) od <code>Y</code>.</p>
+<p><code>ancestor(?X, ?Y)</code>: <code>X</code> je prednik (oče, mama, dedek, …) od <code>Y</code>.</p>
<pre>
?- ancestor(patricia, X).
X = john ;