4 ms·
Seems perfectly crafted for prolog. So... I'd love to see how this compares to a solution in http://docs.racket-lang.org/racklog/ http://docs.racket-lang.org/r
by taeric 13y ago
Seems perfectly crafted for prolog. So... I'd love to see how this compares to a solution in http://docs.racket-lang.org/racklog/ http://docs.racket-lang.org/racklog/
- lispm 13y agoProlog solution in Lisp, here LispWorks: http://lispm.de/source/misc/kw-zebra.lisp http://lispm.de/source/misc/kw-zebra.lisp
- MrRoger 13y agohttp://rosettacode.org/wiki/Zebra_puzzle#Racket http://rosettacode.org/wiki/Zebra_puzzle#Racket Clojure, using core.logic, is also there for good measure.