diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-13 16:35:48 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-01-13 16:35:48 +0100 |
commit | 2e900dd0317299294f4cb27213be6f5b36d4b8b8 (patch) | |
tree | 25fb6767406b8354da92b2ac0883a5bdeef05457 /prolog/problems/family_relations/ancestor_2 | |
parent | 388b32039898cc8f1784378689007254eb7a33b6 (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.py | 2 | ||||
-rw-r--r-- | prolog/problems/family_relations/ancestor_2/sl.py | 2 |
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 ; |