0

I'm pretty close to an exam where I have to answer some questions about Haskell and Prolog. I would like to find a web like "learnyouahaskell" but about Prolog.

I don't know why logical languages are harder for me, they aren't logical for my knowledge =.=

Any recommends? Thanks in advance.

Thorba
  • 181
  • 1
  • 11
  • You could start here: http://stackoverflow.com/questions/5589155/where-should-i-start-learning-prolog – Scott Hunter Jan 10 '12 at 18:12
  • agreed! learnyouahaskell is a great website for learning haskell. I feel like the core principles of how to program in Prolog is much simpler than haskell though, so it probably doesn't need/get as extensive a treatment. – DaveEdelstein Jan 10 '12 at 19:35

2 Answers2

2

I think that the equivalent of leanyouahaskell would be Learn Prolog Now.
also, check this question

It might also help to re-evaluate (or rather backtrack xD) your definition of logical;
for example, when you have

x=3
2x=x+1

you would normally conclude that there is no x that satisfies this system of equations, not that x is first 3 and then 1 :b

anyway, it's true that it's a bit hard to adjust; good luck with your exam!

Community
  • 1
  • 1
Thanos Tintinidis
  • 5,828
  • 1
  • 20
  • 31
1

also this is a very good website for understanding the basics with examples, diagrams and so on: http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/contents.html

mll
  • 195
  • 2
  • 13