[Haskell] Constraint Satisfaction Problem

Henning Thielemann lemming at henning-thielemann.de
Wed Mar 4 08:46:24 UTC 2015


On Wed, 4 Mar 2015, K Sai Anirudh wrote:

> Hello,
> 
> I tried to solve simple constraint satisfaction problem. This is my code " http://pastebin.com/VAaRYSEA " .
> This gives solution for present list of domains, but when I change the domain of 'd' in the list 'ld' then I
> get error. I think the error is in line 52. I indexed the first value, but I tried filtering the results
> where all the variables are assigned and I get error.

I think this fits better to

    Haskell Cafe <haskell-cafe at haskell.org>

where I send this reply, too.


More information about the Haskell mailing list