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/sets/diff_3/en.py        |  4 ++--
 prolog/problems/sets/diff_3/sl.py        |  4 ++--
 prolog/problems/sets/intersect_3/en.py   |  4 ++--
 prolog/problems/sets/intersect_3/sl.py   |  4 ++--
 prolog/problems/sets/is_subset_2/en.py   |  8 ++++----
 prolog/problems/sets/is_subset_2/sl.py   |  8 ++++----
 prolog/problems/sets/is_superset_2/en.py |  8 ++++----
 prolog/problems/sets/is_superset_2/sl.py |  8 ++++----
 prolog/problems/sets/powerset_2/en.py    |  4 ++--
 prolog/problems/sets/powerset_2/sl.py    |  4 ++--
 prolog/problems/sets/subset_2/en.py      | 18 +++++++++---------
 prolog/problems/sets/subset_2/sl.py      | 18 +++++++++---------
 prolog/problems/sets/union_3/en.py       |  4 ++--
 prolog/problems/sets/union_3/sl.py       |  4 ++--
 14 files changed, 50 insertions(+), 50 deletions(-)

(limited to 'prolog/problems/sets')

diff --git a/prolog/problems/sets/diff_3/en.py b/prolog/problems/sets/diff_3/en.py
index 47def00..3c4cc97 100644
--- a/prolog/problems/sets/diff_3/en.py
+++ b/prolog/problems/sets/diff_3/en.py
@@ -6,8 +6,8 @@ slug = 'find the difference of two sets'
 description = '''\
 

diff(S1, S2, D): the list D contains all elements of S1 that don't appear in S2, with no duplicates.

-  ?- diff([2,3,5,1,7,9], [3,7,4,5,6], D).
-    D = [2,1,9].
+?- diff([2,3,5,1,7,9], [3,7,4,5,6], D).
+  D = [2,1,9].
 
''' hint = {} diff --git a/prolog/problems/sets/diff_3/sl.py b/prolog/problems/sets/diff_3/sl.py index d9b89e7..9923272 100644 --- a/prolog/problems/sets/diff_3/sl.py +++ b/prolog/problems/sets/diff_3/sl.py @@ -6,8 +6,8 @@ slug = 'Poišči razliko dveh množic' description = '''\

diff(S1, S2, D): seznam D vsebuje elemente iz S1, ki niso v S2.

-  ?- diff([2,3,5,1,7,9], [3,7,4,5,6], D).
-    D = [2,1,9].
+?- diff([2,3,5,1,7,9], [3,7,4,5,6], D).
+  D = [2,1,9].
 
''' hint = {} diff --git a/prolog/problems/sets/intersect_3/en.py b/prolog/problems/sets/intersect_3/en.py index fed5e34..fefc50a 100644 --- a/prolog/problems/sets/intersect_3/en.py +++ b/prolog/problems/sets/intersect_3/en.py @@ -6,8 +6,8 @@ slug = 'find the intersection of two sets' description = '''\

intersect(S1, S2, I): the list I contains every element that appears in both S1 and S2, with no duplicates.

-  ?- intersect([1,5,6,3,4,2], [8,1,5,9,4,3], I).
-    I = [1,5,3,4].
+?- intersect([1,5,6,3,4,2], [8,1,5,9,4,3], I).
+  I = [1,5,3,4].
 
''' hint = {} diff --git a/prolog/problems/sets/intersect_3/sl.py b/prolog/problems/sets/intersect_3/sl.py index a6af2d5..ac5501b 100644 --- a/prolog/problems/sets/intersect_3/sl.py +++ b/prolog/problems/sets/intersect_3/sl.py @@ -6,8 +6,8 @@ slug = 'Poišči presek dveh množic' description = '''\

intersect(S1, S2, I): seznam I vsebuje presek elementov v S1 in S2.

-  ?- intersect([1,5,6,3,4,2], [8,1,5,9,4,3], I).
-    I = [1,5,3,4].
+?- intersect([1,5,6,3,4,2], [8,1,5,9,4,3], I).
+  I = [1,5,3,4].
 
''' hint = {} diff --git a/prolog/problems/sets/is_subset_2/en.py b/prolog/problems/sets/is_subset_2/en.py index ad4804c..00d15e6 100644 --- a/prolog/problems/sets/is_subset_2/en.py +++ b/prolog/problems/sets/is_subset_2/en.py @@ -6,10 +6,10 @@ slug = 'check if one set is a subset of another' description = '''\

is_subset(S1, S2): the set S1 is a subset of S2.

-  ?- is_subset([2,1,3,5,0], [3,2,1,4,5,9]).
-    false.
-  ?- is_subset([2,1,3,5], [3,2,1,4,5,9]).
-    true.
+?- is_subset([2,1,3,5,0], [3,2,1,4,5,9]).
+  false.
+?- is_subset([2,1,3,5], [3,2,1,4,5,9]).
+  true.
 
''' hint = {} diff --git a/prolog/problems/sets/is_subset_2/sl.py b/prolog/problems/sets/is_subset_2/sl.py index ccec5b0..4119aaf 100644 --- a/prolog/problems/sets/is_subset_2/sl.py +++ b/prolog/problems/sets/is_subset_2/sl.py @@ -6,10 +6,10 @@ slug = 'Preveri, če je prva množica podmnožica od druge' description = '''\

is_subset(S1, S2): množica S1 je podmnožica od S2.

-  ?- is_subset([2,1,3,5,0], [3,2,1,4,5,9]).
-    false.
-  ?- is_subset([2,1,3,5], [3,2,1,4,5,9]).
-    true.
+?- is_subset([2,1,3,5,0], [3,2,1,4,5,9]).
+  false.
+?- is_subset([2,1,3,5], [3,2,1,4,5,9]).
+  true.
 
''' hint = {} diff --git a/prolog/problems/sets/is_superset_2/en.py b/prolog/problems/sets/is_superset_2/en.py index 464762c..df03caf 100644 --- a/prolog/problems/sets/is_superset_2/en.py +++ b/prolog/problems/sets/is_superset_2/en.py @@ -6,10 +6,10 @@ slug = 'check if one set is a superset of the other' description = '''\

is_superset(S1, S2): the set S1 is a superset (contains all elements) of S2.

-  ?- is_superset([3,2,1,4,5,9], [2,1,3,5]).
-    true.
-  ?- is_superset([3,2,1,4,5,9], [2,1,3,5,0]).
-    false.
+?- is_superset([3,2,1,4,5,9], [2,1,3,5]).
+  true.
+?- is_superset([3,2,1,4,5,9], [2,1,3,5,0]).
+  false.
 
''' hint = {} diff --git a/prolog/problems/sets/is_superset_2/sl.py b/prolog/problems/sets/is_superset_2/sl.py index 77d0d9d..a8cc070 100644 --- a/prolog/problems/sets/is_superset_2/sl.py +++ b/prolog/problems/sets/is_superset_2/sl.py @@ -6,10 +6,10 @@ slug = 'Preveri, če je prva množica nadmnožica od druge' description = '''\

is_superset(S1, S2): množica S1 je nadmnožica (vsebuje vse elemente) od S2.

-  ?- is_superset([3,2,1,4,5,9], [2,1,3,5]).
-    true.
-  ?- is_superset([3,2,1,4,5,9], [2,1,3,5,0]).
-    false.
+?- is_superset([3,2,1,4,5,9], [2,1,3,5]).
+  true.
+?- is_superset([3,2,1,4,5,9], [2,1,3,5,0]).
+  false.
 
''' hint = {} diff --git a/prolog/problems/sets/powerset_2/en.py b/prolog/problems/sets/powerset_2/en.py index ad2fe87..dcc299c 100644 --- a/prolog/problems/sets/powerset_2/en.py +++ b/prolog/problems/sets/powerset_2/en.py @@ -6,8 +6,8 @@ slug = 'find all subsets of a set' description = '''\

powerset(Set, Powerset): the list Powerset contains all subsets of Set.

-  ?- powerset([1,2,3], L).
-    L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
+?- powerset([1,2,3], L).
+  L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
 
''' hint = {} diff --git a/prolog/problems/sets/powerset_2/sl.py b/prolog/problems/sets/powerset_2/sl.py index a782dee..4a092db 100644 --- a/prolog/problems/sets/powerset_2/sl.py +++ b/prolog/problems/sets/powerset_2/sl.py @@ -6,8 +6,8 @@ slug = 'Poišči potenčno množico od dane množice' description = '''\

powerset(Set, Powerset): množica Powerset vsebuje vse podmnožice od množice Set.

-  ?- powerset([1,2,3], L).
-    L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
+?- powerset([1,2,3], L).
+  L = [[1,2,3],[1,2],[1,3],[1],[2,3],[2],[3],[]].
 
''' hint = {} diff --git a/prolog/problems/sets/subset_2/en.py b/prolog/problems/sets/subset_2/en.py index eb96ac0..e31b60f 100644 --- a/prolog/problems/sets/subset_2/en.py +++ b/prolog/problems/sets/subset_2/en.py @@ -6,15 +6,15 @@ slug = 'generate all subsets of a set' description = '''\

subset(Set, Subset): the set Subset is a subset of Set. This predicate should generate all valid solutions, one by one.

-  ?- subset([1,2,3], SS).
-    SS = [1,2,3] ;
-    SS = [1,2] ;
-    SS = [1,3] ;
-    SS = [1] ;
-    SS = [2,3] ;
-    SS = [2] ;
-    SS = [3] ;
-    SS = [].
+?- subset([1,2,3], SS).
+  SS = [1,2,3] ;
+  SS = [1,2] ;
+  SS = [1,3] ;
+  SS = [1] ;
+  SS = [2,3] ;
+  SS = [2] ;
+  SS = [3] ;
+  SS = [].
 
''' hint = {} diff --git a/prolog/problems/sets/subset_2/sl.py b/prolog/problems/sets/subset_2/sl.py index eae4fcf..012d132 100644 --- a/prolog/problems/sets/subset_2/sl.py +++ b/prolog/problems/sets/subset_2/sl.py @@ -6,15 +6,15 @@ slug = 'Generiraj vse podmnožice dane množice' description = '''\

subset(Set, Subset): množica Subset je podmnožica od Set. Ta predikat naj, eno po eno, generira vse veljavne podmnožice.

-  ?- subset([1,2,3], SS).
-    SS = [1,2,3] ;
-    SS = [1,2] ;
-    SS = [1,3] ;
-    SS = [1] ;
-    SS = [2,3] ;
-    SS = [2] ;
-    SS = [3] ;
-    SS = [].
+?- subset([1,2,3], SS).
+  SS = [1,2,3] ;
+  SS = [1,2] ;
+  SS = [1,3] ;
+  SS = [1] ;
+  SS = [2,3] ;
+  SS = [2] ;
+  SS = [3] ;
+  SS = [].
 
''' hint = {} diff --git a/prolog/problems/sets/union_3/en.py b/prolog/problems/sets/union_3/en.py index db6bbd9..3789e96 100644 --- a/prolog/problems/sets/union_3/en.py +++ b/prolog/problems/sets/union_3/en.py @@ -6,8 +6,8 @@ slug = 'find the union of two sets' description = '''\

union(S1, S2, U): the list U contains all elements of S1 and S2, with no duplicates.

-  ?- union([1,5,2,3], [3,4,8,2], U).
-    U = [1,5,3,4,8,2].
+?- union([1,5,2,3], [3,4,8,2], U).
+  U = [1,5,3,4,8,2].
 
''' hint = {} diff --git a/prolog/problems/sets/union_3/sl.py b/prolog/problems/sets/union_3/sl.py index 27d3088..9a19323 100644 --- a/prolog/problems/sets/union_3/sl.py +++ b/prolog/problems/sets/union_3/sl.py @@ -6,8 +6,8 @@ slug = 'Poišči unijo dveh množic' description = '''\

union(S1, S2, U): seznam U predstavlja unijo elementov v seznamih S1 in S2, duplikatov (kot se za množice spodobi) ni.

-  ?- union([1,5,2,3], [3,4,8,2], U).
-    U = [1,5,3,4,8,2].
+?- union([1,5,2,3], [3,4,8,2], U).
+  U = [1,5,3,4,8,2].
 
''' hint = {} -- cgit v1.2.1