From 388b32039898cc8f1784378689007254eb7a33b6 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 13 Jan 2016 13:51:15 +0100 Subject: Remove space-padding from
 blocks

---
 prolog/problems/family_relations/ancestor_2/en.py    |  8 ++++----
 prolog/problems/family_relations/ancestor_2/sl.py    |  8 ++++----
 prolog/problems/family_relations/aunt_2/en.py        |  6 +++---
 prolog/problems/family_relations/aunt_2/sl.py        |  6 +++---
 prolog/problems/family_relations/brother_2/en.py     |  6 +++---
 prolog/problems/family_relations/brother_2/sl.py     |  6 +++---
 prolog/problems/family_relations/connected_3/en.py   |  8 ++++----
 prolog/problems/family_relations/cousin_2/en.py      |  6 +++---
 prolog/problems/family_relations/cousin_2/sl.py      |  6 +++---
 prolog/problems/family_relations/descendant_2/en.py  |  8 ++++----
 prolog/problems/family_relations/descendant_2/sl.py  |  8 ++++----
 prolog/problems/family_relations/father_2/en.py      | 10 +++++-----
 prolog/problems/family_relations/father_2/sl.py      | 10 +++++-----
 prolog/problems/family_relations/grandparent_2/en.py | 10 +++++-----
 prolog/problems/family_relations/grandparent_2/sl.py | 10 +++++-----
 prolog/problems/family_relations/mother_2/en.py      | 10 +++++-----
 prolog/problems/family_relations/mother_2/sl.py      | 10 +++++-----
 prolog/problems/family_relations/sister_2/en.py      |  4 ++--
 prolog/problems/family_relations/sister_2/sl.py      |  4 ++--
 19 files changed, 72 insertions(+), 72 deletions(-)

(limited to 'prolog/problems/family_relations')

diff --git a/prolog/problems/family_relations/ancestor_2/en.py b/prolog/problems/family_relations/ancestor_2/en.py
index 29fb253..588de83 100644
--- a/prolog/problems/family_relations/ancestor_2/en.py
+++ b/prolog/problems/family_relations/ancestor_2/en.py
@@ -6,10 +6,10 @@ slug = 'the ancestor relation'
 description = '''\
 

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

-  ?- ancestor(patricia, X).
-    X = john ;
-    X = michael ;
-    X = michelle.
+?- ancestor(patricia, X).
+  X = john ;
+  X = michael ;
+  X = michelle.
 
''' hint = {} diff --git a/prolog/problems/family_relations/ancestor_2/sl.py b/prolog/problems/family_relations/ancestor_2/sl.py index b0fae7c..9e5c9bf 100644 --- a/prolog/problems/family_relations/ancestor_2/sl.py +++ b/prolog/problems/family_relations/ancestor_2/sl.py @@ -6,10 +6,10 @@ slug = 'X je prednik od Y' description = '''\

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

-  ?- ancestor(patricia, X).
-    X = john ;
-    X = michael ;
-    X = michelle.
+?- ancestor(patricia, X).
+  X = john ;
+  X = michael ;
+  X = michelle.
 
''' plan = ['''\ diff --git a/prolog/problems/family_relations/aunt_2/en.py b/prolog/problems/family_relations/aunt_2/en.py index 25cac41..7e508bc 100644 --- a/prolog/problems/family_relations/aunt_2/en.py +++ b/prolog/problems/family_relations/aunt_2/en.py @@ -6,9 +6,9 @@ slug = 'the aunt relation' description = '''\

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

-  ?- aunt(sally, X).
-    X = vanessa ;
-    X = patricia.
+?- aunt(sally, X).
+  X = vanessa ;
+  X = patricia.
 
''' hint = {} diff --git a/prolog/problems/family_relations/aunt_2/sl.py b/prolog/problems/family_relations/aunt_2/sl.py index e5c3bb9..eb1b673 100644 --- a/prolog/problems/family_relations/aunt_2/sl.py +++ b/prolog/problems/family_relations/aunt_2/sl.py @@ -6,9 +6,9 @@ slug = 'X je teta od Y' description = '''\

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

-  ?- aunt(sally, X).
-    X = vanessa ;
-    X = patricia.
+?- aunt(sally, X).
+  X = vanessa ;
+  X = patricia.
 
''' plan = ['''\ diff --git a/prolog/problems/family_relations/brother_2/en.py b/prolog/problems/family_relations/brother_2/en.py index 2daf78f..a461ba8 100644 --- a/prolog/problems/family_relations/brother_2/en.py +++ b/prolog/problems/family_relations/brother_2/en.py @@ -6,9 +6,9 @@ slug = 'the brother relation' description = '''\

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

-  ?- brother(jeffrey, X).
-    X = william ;
-    X = sally.
+?- brother(jeffrey, X).
+  X = william ;
+  X = sally.
 
''' hint = {} diff --git a/prolog/problems/family_relations/brother_2/sl.py b/prolog/problems/family_relations/brother_2/sl.py index 29703a1..29ec289 100644 --- a/prolog/problems/family_relations/brother_2/sl.py +++ b/prolog/problems/family_relations/brother_2/sl.py @@ -6,9 +6,9 @@ slug = 'X je brat od Y' description = '''\

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

-  ?- brother(jeffrey, X).
-    X = william ;
-    X = sally.
+?- brother(jeffrey, X).
+  X = william ;
+  X = sally.
 
''' plan = [ diff --git a/prolog/problems/family_relations/connected_3/en.py b/prolog/problems/family_relations/connected_3/en.py index f50d60e..932d4cf 100644 --- a/prolog/problems/family_relations/connected_3/en.py +++ b/prolog/problems/family_relations/connected_3/en.py @@ -6,10 +6,10 @@ slug = 'check if two people are connected in the family tree' description = '''\

connected(X, Y, N): X and Y are connected with a series of (no more than N) parent/child relations.

-  ?- connected(ana, morty, 10).
-    false.
-  ?- connected(ana, margaret, 10).
-    true.
+?- connected(ana, morty, 10).
+  false.
+?- connected(ana, margaret, 10).
+  true.
 
''' hint = {} diff --git a/prolog/problems/family_relations/cousin_2/en.py b/prolog/problems/family_relations/cousin_2/en.py index cf628db..93e3aee 100644 --- a/prolog/problems/family_relations/cousin_2/en.py +++ b/prolog/problems/family_relations/cousin_2/en.py @@ -6,9 +6,9 @@ slug = 'the cousin relation' description = '''\

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

-  ?- cousin(andrew, X).
-    X = vanessa ;
-    X = patricia.
+?- cousin(andrew, X).
+  X = vanessa ;
+  X = patricia.
 
''' hint = {} diff --git a/prolog/problems/family_relations/cousin_2/sl.py b/prolog/problems/family_relations/cousin_2/sl.py index 7bd819a..5e18f4a 100644 --- a/prolog/problems/family_relations/cousin_2/sl.py +++ b/prolog/problems/family_relations/cousin_2/sl.py @@ -6,9 +6,9 @@ slug = 'X je bratranec ali sestrična od Y' description = '''\

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

-  ?- cousin(andrew, X).
-    X = vanessa ;
-    X = patricia.
+?- cousin(andrew, X).
+  X = vanessa ;
+  X = patricia.
 
''' plan = ['''\ diff --git a/prolog/problems/family_relations/descendant_2/en.py b/prolog/problems/family_relations/descendant_2/en.py index 74360f3..2bd30af 100644 --- a/prolog/problems/family_relations/descendant_2/en.py +++ b/prolog/problems/family_relations/descendant_2/en.py @@ -6,10 +6,10 @@ slug = 'the descendant relation' description = '''\

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

-  ?- descendant(patricia, X).
-    X = william ;
-    X = tina ;
-    X = thomas.
+?- descendant(patricia, X).
+  X = william ;
+  X = tina ;
+  X = thomas.
 
''' hint = {} diff --git a/prolog/problems/family_relations/descendant_2/sl.py b/prolog/problems/family_relations/descendant_2/sl.py index 5f4a3ca..993b4bb 100644 --- a/prolog/problems/family_relations/descendant_2/sl.py +++ b/prolog/problems/family_relations/descendant_2/sl.py @@ -6,10 +6,10 @@ slug = 'the descendant relation' description = '''\

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

-  ?- descendant(patricia, X).
-    X = william ;
-    X = tina ;
-    X = thomas.
+?- descendant(patricia, X).
+  X = william ;
+  X = tina ;
+  X = thomas.
 
''' plan = ['''\ diff --git a/prolog/problems/family_relations/father_2/en.py b/prolog/problems/family_relations/father_2/en.py index bde9a2d..31517c9 100644 --- a/prolog/problems/family_relations/father_2/en.py +++ b/prolog/problems/family_relations/father_2/en.py @@ -6,11 +6,11 @@ slug = 'the father-child relation' description = '''\

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

-  ?- father(thomas, william).
-    true.
-  ?- father(aleksander, X).
-    X = luana ;
-    X = daniela.
+?- father(thomas, william).
+  true.
+?- father(aleksander, X).
+  X = luana ;
+  X = daniela.
 
''' hint = {} diff --git a/prolog/problems/family_relations/father_2/sl.py b/prolog/problems/family_relations/father_2/sl.py index 7b37aba..fed61c7 100644 --- a/prolog/problems/family_relations/father_2/sl.py +++ b/prolog/problems/family_relations/father_2/sl.py @@ -6,11 +6,11 @@ slug = 'X je oče od Y' description = '''\

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

-  ?- father(thomas, william).
-    true.
-  ?- father(aleksander, X).
-    X = luana ;
-    X = daniela.
+?- father(thomas, william).
+  true.
+?- father(aleksander, X).
+  X = luana ;
+  X = daniela.
 
''' plan = [ diff --git a/prolog/problems/family_relations/grandparent_2/en.py b/prolog/problems/family_relations/grandparent_2/en.py index c181ab5..11918a9 100644 --- a/prolog/problems/family_relations/grandparent_2/en.py +++ b/prolog/problems/family_relations/grandparent_2/en.py @@ -6,11 +6,11 @@ slug = 'the grandparent relation' description = '''\

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

-  ?- grandparent(tina, X).
-    X = vanessa ;
-    X = patricia.
-  ?- grandparent(tina, vanessa).
-    true.
+?- grandparent(tina, X).
+  X = vanessa ;
+  X = patricia.
+?- grandparent(tina, vanessa).
+  true.
 
''' hint = {} diff --git a/prolog/problems/family_relations/grandparent_2/sl.py b/prolog/problems/family_relations/grandparent_2/sl.py index 2246ae6..d74f4f4 100644 --- a/prolog/problems/family_relations/grandparent_2/sl.py +++ b/prolog/problems/family_relations/grandparent_2/sl.py @@ -6,11 +6,11 @@ slug = 'X je dedek ali babica od Y' description = '''\

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

-  ?- grandparent(tina, X).
-    X = vanessa ;
-    X = patricia.
-  ?- grandparent(tina, vanessa).
-    true.
+?- grandparent(tina, X).
+  X = vanessa ;
+  X = patricia.
+?- grandparent(tina, vanessa).
+  true.
 
''' plan = ['''\ diff --git a/prolog/problems/family_relations/mother_2/en.py b/prolog/problems/family_relations/mother_2/en.py index 722c016..531c3d7 100644 --- a/prolog/problems/family_relations/mother_2/en.py +++ b/prolog/problems/family_relations/mother_2/en.py @@ -6,11 +6,11 @@ slug = 'the mother-child relation' description = '''\

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

-  ?- mother(tina, william).
-    true.
-  ?- mother(nevia, X).
-    X = luana ;
-    X = daniela.
+?- mother(tina, william).
+  true.
+?- mother(nevia, X).
+  X = luana ;
+  X = daniela.
 
''' hint = {} diff --git a/prolog/problems/family_relations/mother_2/sl.py b/prolog/problems/family_relations/mother_2/sl.py index b37c20c..5869033 100644 --- a/prolog/problems/family_relations/mother_2/sl.py +++ b/prolog/problems/family_relations/mother_2/sl.py @@ -6,11 +6,11 @@ slug = 'X je mama od Y' description = '''\

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

-  ?- mother(tina, william).
-    true.
-  ?- mother(nevia, X).
-    X = luana ;
-    X = daniela.
+?- mother(tina, william).
+  true.
+?- mother(nevia, X).
+  X = luana ;
+  X = daniela.
 
''' plan = [ diff --git a/prolog/problems/family_relations/sister_2/en.py b/prolog/problems/family_relations/sister_2/en.py index 32bb9d9..a7e2035 100644 --- a/prolog/problems/family_relations/sister_2/en.py +++ b/prolog/problems/family_relations/sister_2/en.py @@ -6,8 +6,8 @@ slug = 'the sister relation' description = '''\

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

-  ?- sister(vanessa, X).
-    X = patricia.
+?- sister(vanessa, X).
+  X = patricia.
 
''' hint = { diff --git a/prolog/problems/family_relations/sister_2/sl.py b/prolog/problems/family_relations/sister_2/sl.py index cb51592..5ca9928 100644 --- a/prolog/problems/family_relations/sister_2/sl.py +++ b/prolog/problems/family_relations/sister_2/sl.py @@ -6,8 +6,8 @@ slug = 'X je sestra od Y' description = '''\

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

-  ?- sister(vanessa, X).
-    X = patricia.
+?- sister(vanessa, X).
+  X = patricia.
 
''' plan = [ -- cgit v1.2.1