I have a function which is working for the time being, but I am concerned that it is less efficient than a 'listing' call.
I have a function which is working for the time being, but I am concerned that it is less efficient than a 'listing' call getClauses(Y):- predicate_property(L,interpreted), \+ predicate_property(L, built_in), \+ predicate_property(L,imported_from(_)), current_predicate( X, L), current_predicate(X/Z), findall((L, T), clause(L, T), Y). Which returns for a predicate existing in the knowledgebase: myPredicate:- myGoal1, myGoal2. The result:?
- getClauses(Y). Y = (myPredicate, myGoal1, myGoal2) Note that this will not work for predicates which have been imported from other modules.
Follow up: It turns out the findall is excessive. – Huguenot Jul 31 '09 at 10:52.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.