summaryrefslogtreecommitdiff
path: root/prolog/problems/family_relations/grandparent_2
diff options
context:
space:
mode:
authorAleksander Sadikov <aleksander.sadikov@fri.uni-lj.si>2016-03-02 15:24:00 +0100
committerAleksander Sadikov <aleksander.sadikov@fri.uni-lj.si>2016-03-02 15:24:00 +0100
commitd4e24f31ab51640c2e65eb68446f0d5f6174b7e1 (patch)
tree6fd93eaa6cca34c30ea97a1cee5ef29507b3c442 /prolog/problems/family_relations/grandparent_2
parente318ce671052e30dff8077d7ca72f8633cab9ffa (diff)
Improved hints for ancestor/2 and descendant/2.
Diffstat (limited to 'prolog/problems/family_relations/grandparent_2')
-rw-r--r--prolog/problems/family_relations/grandparent_2/common.py7
-rw-r--r--prolog/problems/family_relations/grandparent_2/sl.py2
2 files changed, 1 insertions, 8 deletions
diff --git a/prolog/problems/family_relations/grandparent_2/common.py b/prolog/problems/family_relations/grandparent_2/common.py
index 1665c18..6939e85 100644
--- a/prolog/problems/family_relations/grandparent_2/common.py
+++ b/prolog/problems/family_relations/grandparent_2/common.py
@@ -134,10 +134,3 @@ def hint(code, aux_code):
return []
-# sudo mount -o ro /dev/sdaX /mnt
-# things to discuss with Tim
-# 1o can we make predicate_always_false a ghint?
-# with this in mind: how can we supply/know the correct target name and arity?
-# 2x popraviti je potrebno spremni tekst glede na novo lokacijo gumba Namig
-# 3x what's the name of \= token? And what of =\= token?
-# 4 final hint! This very much improves the user experience, adds knowledge, therefore needs to be implemented now!
diff --git a/prolog/problems/family_relations/grandparent_2/sl.py b/prolog/problems/family_relations/grandparent_2/sl.py
index 231be90..3f8a549 100644
--- a/prolog/problems/family_relations/grandparent_2/sl.py
+++ b/prolog/problems/family_relations/grandparent_2/sl.py
@@ -67,6 +67,6 @@ hint = {
<p>Če je ime pravilno, se morda splača preveriti tudi, če se nisi zatipkal kje drugje,
je morda kakšna pika namesto vejice ali obratno, morda kakšna spremenljivka z malo začetnico?</p>
<p>Možno je seveda tudi, da so tvoji pogoji prestrogi ali celo nemogoči (kot bi bila npr. zahteva,
-da je <code>X</code> hkrati starš in sestra od <code>Y</code>).</p>
+da je <code>X</code> hkrati starš in sestra od <code>Y</code> ali kaj podobnega).</p>
''',
}