From 2e900dd0317299294f4cb27213be6f5b36d4b8b8 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 13 Jan 2016 16:35:48 +0100 Subject: Use argument mode indicators in Prolog problem descriptions --- prolog/problems/family_relations/ancestor_2/en.py | 2 +- prolog/problems/family_relations/ancestor_2/sl.py | 2 +- prolog/problems/family_relations/aunt_2/en.py | 2 +- prolog/problems/family_relations/aunt_2/sl.py | 2 +- prolog/problems/family_relations/brother_2/en.py | 2 +- prolog/problems/family_relations/brother_2/sl.py | 2 +- prolog/problems/family_relations/cousin_2/en.py | 2 +- prolog/problems/family_relations/cousin_2/sl.py | 2 +- prolog/problems/family_relations/descendant_2/en.py | 2 +- prolog/problems/family_relations/descendant_2/sl.py | 2 +- prolog/problems/family_relations/father_2/en.py | 2 +- prolog/problems/family_relations/father_2/sl.py | 2 +- prolog/problems/family_relations/grandparent_2/en.py | 2 +- prolog/problems/family_relations/grandparent_2/sl.py | 2 +- prolog/problems/family_relations/mother_2/en.py | 2 +- prolog/problems/family_relations/mother_2/sl.py | 2 +- prolog/problems/family_relations/sister_2/en.py | 2 +- prolog/problems/family_relations/sister_2/sl.py | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) (limited to 'prolog/problems') 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 = '''\ -

ancestor(X, Y): X is an ancestor (parent, grandparent,...) of Y.

+

ancestor(?X, ?Y): X is an ancestor (parent, grandparent, …) of Y.

 ?- 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 = '''\
-

ancestor(X, Y): X je prednik (oče, mama, dedek, ...) od Y.

+

ancestor(?X, ?Y): X je prednik (oče, mama, dedek, …) od Y.

 ?- ancestor(patricia, X).
   X = john ;
diff --git a/prolog/problems/family_relations/aunt_2/en.py b/prolog/problems/family_relations/aunt_2/en.py
index 7e508bc..7bcc0a2 100644
--- a/prolog/problems/family_relations/aunt_2/en.py
+++ b/prolog/problems/family_relations/aunt_2/en.py
@@ -4,7 +4,7 @@ name = 'aunt/2'
 slug = 'the aunt relation'
 
 description = '''\
-

aunt(X, Y): X is an aunt of Y.

+

aunt(?X, ?Y): X is an aunt of Y.

 ?- aunt(sally, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/aunt_2/sl.py b/prolog/problems/family_relations/aunt_2/sl.py
index eb1b673..71f774f 100644
--- a/prolog/problems/family_relations/aunt_2/sl.py
+++ b/prolog/problems/family_relations/aunt_2/sl.py
@@ -4,7 +4,7 @@ name = 'aunt/2'
 slug = 'X je teta od Y'
 
 description = '''\
-

aunt(X, Y): X je teta od Y.

+

aunt(?X, ?Y): X je teta od Y.

 ?- aunt(sally, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/brother_2/en.py b/prolog/problems/family_relations/brother_2/en.py
index a461ba8..b159446 100644
--- a/prolog/problems/family_relations/brother_2/en.py
+++ b/prolog/problems/family_relations/brother_2/en.py
@@ -4,7 +4,7 @@ name = 'brother/2'
 slug = 'the brother relation'
 
 description = '''\
-

brother(X, Y): X is a brother of Y.

+

brother(?X, ?Y): X is a brother of Y.

 ?- brother(jeffrey, X).
   X = william ;
diff --git a/prolog/problems/family_relations/brother_2/sl.py b/prolog/problems/family_relations/brother_2/sl.py
index 29ec289..6d45111 100644
--- a/prolog/problems/family_relations/brother_2/sl.py
+++ b/prolog/problems/family_relations/brother_2/sl.py
@@ -4,7 +4,7 @@ name = 'brother/2'
 slug = 'X je brat od Y'
 
 description = '''\
-

brother(X, Y): X je brat od Y.

+

brother(?X, ?Y): X je brat od Y.

 ?- brother(jeffrey, X).
   X = william ;
diff --git a/prolog/problems/family_relations/cousin_2/en.py b/prolog/problems/family_relations/cousin_2/en.py
index 93e3aee..ee298c2 100644
--- a/prolog/problems/family_relations/cousin_2/en.py
+++ b/prolog/problems/family_relations/cousin_2/en.py
@@ -4,7 +4,7 @@ name = 'cousin/2'
 slug = 'the cousin relation'
 
 description = '''\
-

cousin(X, Y): X is a cousin (male or female) of Y.

+

cousin(?X, ?Y): X is a cousin (male or female) of Y.

 ?- cousin(andrew, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/cousin_2/sl.py b/prolog/problems/family_relations/cousin_2/sl.py
index 5e18f4a..a5f2b92 100644
--- a/prolog/problems/family_relations/cousin_2/sl.py
+++ b/prolog/problems/family_relations/cousin_2/sl.py
@@ -4,7 +4,7 @@ name = 'cousin/2'
 slug = 'X je bratranec ali sestrična od Y'
 
 description = '''\
-

cousin(X, Y): X je bratranec ali sestrična od Y.

+

cousin(?X, ?Y): X je bratranec ali sestrična od Y.

 ?- cousin(andrew, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/descendant_2/en.py b/prolog/problems/family_relations/descendant_2/en.py
index 2bd30af..aab3ba8 100644
--- a/prolog/problems/family_relations/descendant_2/en.py
+++ b/prolog/problems/family_relations/descendant_2/en.py
@@ -4,7 +4,7 @@ name = 'descendant/2'
 slug = 'the descendant relation'
 
 description = '''\
-

descendant(X, Y): X is a descendant (child, grandchild,...) of Y.

+

descendant(?X, ?Y): X is a descendant (child, grandchild, …) of Y.

 ?- descendant(patricia, X).
   X = william ;
diff --git a/prolog/problems/family_relations/descendant_2/sl.py b/prolog/problems/family_relations/descendant_2/sl.py
index 993b4bb..36231a1 100644
--- a/prolog/problems/family_relations/descendant_2/sl.py
+++ b/prolog/problems/family_relations/descendant_2/sl.py
@@ -4,7 +4,7 @@ name = 'descendant/2'
 slug = 'the descendant relation'
 
 description = '''\
-

descendant(X, Y): X is a descendant (child, grandchild,...) of Y.

+

descendant(?X, ?Y): X je potomec (otrok, vnuk, …) od Y.

 ?- descendant(patricia, X).
   X = william ;
diff --git a/prolog/problems/family_relations/father_2/en.py b/prolog/problems/family_relations/father_2/en.py
index 31517c9..c8a3d74 100644
--- a/prolog/problems/family_relations/father_2/en.py
+++ b/prolog/problems/family_relations/father_2/en.py
@@ -4,7 +4,7 @@ name = 'father/2'
 slug = 'the father-child relation'
 
 description = '''\
-

father(X, Y): X is the father of Y.

+

father(?X, ?Y): X is the father of Y.

 ?- father(thomas, william).
   true.
diff --git a/prolog/problems/family_relations/father_2/sl.py b/prolog/problems/family_relations/father_2/sl.py
index fed61c7..adb6fd9 100644
--- a/prolog/problems/family_relations/father_2/sl.py
+++ b/prolog/problems/family_relations/father_2/sl.py
@@ -4,7 +4,7 @@ name = 'father/2'
 slug = 'X je oče od Y'
 
 description = '''\
-

father(X, Y): X je oče od Y.

+

father(?X, ?Y): X je oče od Y.

 ?- father(thomas, william).
   true.
diff --git a/prolog/problems/family_relations/grandparent_2/en.py b/prolog/problems/family_relations/grandparent_2/en.py
index 11918a9..e82441e 100644
--- a/prolog/problems/family_relations/grandparent_2/en.py
+++ b/prolog/problems/family_relations/grandparent_2/en.py
@@ -4,7 +4,7 @@ name = 'grandparent/2'
 slug = 'the grandparent relation'
 
 description = '''\
-

grandparent(P, C): P is a grandparent of C.

+

grandparent(?P, ?C): P is a grandparent of C.

 ?- grandparent(tina, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/grandparent_2/sl.py b/prolog/problems/family_relations/grandparent_2/sl.py
index d74f4f4..bd2d63c 100644
--- a/prolog/problems/family_relations/grandparent_2/sl.py
+++ b/prolog/problems/family_relations/grandparent_2/sl.py
@@ -4,7 +4,7 @@ name = 'grandparent/2'
 slug = 'X je dedek ali babica od Y'
 
 description = '''\
-

grandparent(X, Y): X je dedek ali babica od Y.

+

grandparent(?X, ?Y): X je dedek ali babica od Y.

 ?- grandparent(tina, X).
   X = vanessa ;
diff --git a/prolog/problems/family_relations/mother_2/en.py b/prolog/problems/family_relations/mother_2/en.py
index 531c3d7..3614473 100644
--- a/prolog/problems/family_relations/mother_2/en.py
+++ b/prolog/problems/family_relations/mother_2/en.py
@@ -4,7 +4,7 @@ name = 'mother/2'
 slug = 'the mother-child relation'
 
 description = '''\
-

mother(M, C): M is the mother of C.

+

mother(?M, ?C): M is the mother of C.

 ?- mother(tina, william).
   true.
diff --git a/prolog/problems/family_relations/mother_2/sl.py b/prolog/problems/family_relations/mother_2/sl.py
index 5869033..32103a8 100644
--- a/prolog/problems/family_relations/mother_2/sl.py
+++ b/prolog/problems/family_relations/mother_2/sl.py
@@ -4,7 +4,7 @@ name = 'mother/2'
 slug = 'X je mama od Y'
 
 description = '''\
-

mother(X, Y): X je mama od Y.

+

mother(?X, ?Y): X je mama od Y.

 ?- mother(tina, william).
   true.
diff --git a/prolog/problems/family_relations/sister_2/en.py b/prolog/problems/family_relations/sister_2/en.py
index a7e2035..0345fec 100644
--- a/prolog/problems/family_relations/sister_2/en.py
+++ b/prolog/problems/family_relations/sister_2/en.py
@@ -4,7 +4,7 @@ name = 'sister/2'
 slug = 'the sister relation'
 
 description = '''\
-

sister(X, Y): X is a sister of Y.

+

sister(?X, ?Y): X is a sister of Y.

 ?- sister(vanessa, X).
   X = patricia.
diff --git a/prolog/problems/family_relations/sister_2/sl.py b/prolog/problems/family_relations/sister_2/sl.py
index 5ca9928..92ea45d 100644
--- a/prolog/problems/family_relations/sister_2/sl.py
+++ b/prolog/problems/family_relations/sister_2/sl.py
@@ -4,7 +4,7 @@ name = 'sister/2'
 slug = 'X je sestra od Y'
 
 description = '''\
-

sister(X, Y): X je sestra od Y.

+

sister(?X, ?Y): X je sestra od Y.

 ?- sister(vanessa, X).
   X = patricia.
-- 
cgit v1.2.1