Re:The Power of Prolog
by insulanian on Thursday April 06, 2017 @03:41AM
(#14048689)
Is it possible to do that kind of stuff (e.g. Einstein's Puzzle) in Haskell/OCaml/F# and how would one approach it?
[ Parent
| on HN ]
Re:The Power of Prolog
by tom_mellior on Thursday April 06, 2017 @04:48AM
(#14048931)
Yes, it's possible. Most approaches use brute-force search, just like the simpler Prolog variants: http://rosettacode.org/wiki/Zebra_puzzle