Haskell examples for the book "Paradigms of Artificial Intelligence Programming"