I\'m trying to define a predicate开发者_运维技巧 that receives a single term with free variables and returns a list of mappings of those variables, so for example if the database is
i know there is a build-in function findall/3 in prolog, and im trying to find the total numbers of hours(Thrs) and store them in a list, then sum the list up. but it doesnt work for me. here is my co
I have a large number of facts within my program, listing developers and designers in a company, as well as previous projects, like so..
I was resolving some prolog exercises when I fond myself with some difficulties resolving the following one: