
24 Jun
2010
24 Jun
'10
6:19 a.m.
Martin Drautzburg wrote:
From which angle would you approach problems like this? Should I get my hands on a prolog-in-haskel implementation (which indeed seems to exist)? Or should I roll my own poor-man's prolog? Or is this a constraint-satisfaction-problem? Or is there even a more straight-forward more haskellish pattern, which solves such problems?
I don't think that a general Prolog implementation is the right approach, but if you do need one, have a look at the demonstration projects for the Hugs interpreter: http://darcs.haskell.org/hugs98/demos/prolog/ Regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com