There are multiple senses of the word &quot;declarative&quot;. I&#39;d say the terminology came from trying to figure out the difference between describing a problem (declarative) and telling the computer exactly how to solve it (imperative).<div>

<div><br></div><div>You might want to take a look at how Haskell and Prolog approach the n-queens problem. The haskell solutions I&#39;ve seen, with prolog as foil, now take a positively imperative hue!</div><div><br clear="all">

-- Kim-Ee<br>
<br><br><div class="gmail_quote">On Sun, Oct 28, 2012 at 1:27 PM, Christopher Howard <span dir="ltr">&lt;<a href="mailto:christopher.howard@frigidcode.com" target="_blank">christopher.howard@frigidcode.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi. I still have a lot to learn in Haskell (who doesn&#39;t?) but I was<br>
thinking about learning Prolog on the side. I was wondering what you<br>
thought about the language. I was interested in it primarily because I<br>
understood it was a purely declarative language and that everything is<br>
defined in the programs as relations. However, at the Wikipedia page it<br>
states that Prolog is not actually purely declarative, referencing an<br>
article which points out that it is necessary to think about Prolog<br>
programs procedurally because of the way that Prolog resolves queries.<br>
Is this not as big a deal as it sounds like? Or is there some other<br>
similar language I should learn instead? (One of the &quot;successors&quot; of<br>
Prolog?)<br>
<br>
I&#39;m fairly open minded, so long as all the tools are FOSS. Though of<br>
course, a language with better community support, documentation, etc. is<br>
preferable.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="http://frigidcode.com" target="_blank">frigidcode.com</a><br>
<a href="http://indicium.us" target="_blank">indicium.us</a><br>
<br>
</font></span><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div></div>