Thorba
Thorba

Reputation: 199

Learning Prolog Basics

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.

Upvotes: 0

Views: 260

Answers (2)

mll
mll

Reputation: 195

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

Upvotes: 1

thanos
thanos

Reputation: 5858

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!

Upvotes: 2

Related Questions