Some Aspects of the Integration between Logic Programming and Functional Programming