dragonwasrobot / learn-prolog-now-exercises

My solutions to the exercises and practical sessions of the book 'Learn Prolog Now!' by Patrick Blackburn, Johan Bos, and Kristina Striegnitz.
288 stars 81 forks source link

Updated Exercise -10.4,Earlier it was repeating identical solution mu… #43

Closed mohitiitb closed 6 years ago

mohitiitb commented 6 years ago

…ptiple times.

Add a cut at line 109 to terminate repetition.