|
|
|
|
|
by dhkl
4774 days ago
|
|
When I first learned about Prolog in AI class, the first thing that struct me was how beautiful Prolog/logic programming solutions are. In non-declarative languages like Java, you have to build up the different pieces of computations, while you keep maintaining a mental picture of how the various pieces fit together. In Prolog, you declare the entities and the relationships/constraints between them, and the system will build the solution for you through inference. David Nolen has done some awesome work writing the core.logic[1] library, which makes those Prolog gooodies accessible to Clojure programmers. --
[1] https://github.com/clojure/core.logic |
|