3 ms·
For reference, Clojure's core.logic: https://gist.github.com/rm-hull/6952960 https://gist.github.com/rm-hull/6952960 Or, from Norvig, presumably as an update to
by riboflava 10y ago
For reference, Clojure's core.logic: https://gist.github.com/rm-hull/6952960 https://gist.github.com/rm-hull/6952960 Or, from Norvig, presumably as an update to the solution he made with Lisp and Prolog, here's a Python version that doesn't use any fancy logic engine: https://gist.github.com/joyrexus/5301901 https://gist.github.com/joyrexus/5301901
- StavrosK 10y agoJesus, Norvig's version is so dauntingly short...