Skip to content

summarizing recent advice on learning/teaching Prolog #1959

Answered by UWN
mvolkmann asked this question in Q&A
Discussion options

You must be logged in to vote

This looks much better!

clpz and DCGs, unfair enumeration, iterative deepening, the zebra puzzle (not that I think this is the best to start with), numbers (although best is still to start with successor arithmetics), lists and strings (that is "abc" = [a,b,c]), pairs, all fit into the pure, monotonic part too. So you can already write some non-trivial programs in particular with parsing and scheduling.

Also note that taking this approach isn't that new. Books like The Art of Prolog of 1986 suggested it as well. The main difference is that in the meantime there are better reading techniques to understand unexpected success, failure, and non-termination. Mastery of these is important. And …

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@mvolkmann
Comment options

@pmoura
Comment options

Comment options

You must be logged in to vote
3 replies
@mvolkmann
Comment options

@UWN
Comment options

@triska
Comment options

Answer selected by mvolkmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants