|
|
|
|
|
by octo_t
4824 days ago
|
|
Prolog is declarative programming take to the maximum (excluding things like Answer Set Programming/clingo etc). In Prolog you ask questions.
For example:
subset([1,2],[2]). then it goes away and says "yes". Or you want to know if any subsets exist:
subset([1,2],B). B = []
B = [1]
B = [2] This makes it really really nice for some surprising tasks (Windows NT used to ship with a prolog interpreter for setting up the network) |
|