Re: [Haskell] Constraint Satisfaction Problem

2015-03-04 Thread Henning Thielemann
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 err

[Haskell] Constraint Satisfaction Problem

2015-03-03 Thread K Sai Anirudh
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