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

Fix the solution to exercise 7.1 to use ordinary Prolog rules #18

Closed ghost closed 8 years ago

ghost commented 8 years ago

The previous solution was using DCG rules (with missing punctuation), while the problem statement is asking for ordinary Prolog rules.