Putting all the arguments in a list like attribute(a1,a2,a3,a4,a5,a6). Data(yes,yes,yes,no,no,no). Data(yes,yes,yes,no,no,yes).
And then recursively process the data is what I would do. If, for some reason, you want to have predicates with different arities, you could use the =../2 operator to get the arguments in a list and then process them or you can write code for each arity XD.
Could you further explain. – onurozcelik May 10 at 11:43 The "univ" predicate lets us convert a compound term into a list and conversely, where the first item in the list is the functor, and the remaining items are the arguments. Prolog "facts" are a special case of terms where the functor is a predicate.
– hardmath May 10 at 12:01 what hardmath said. Btw prolog isnt really functional programming so you might want to retag the question – thanosQR May 10 at 12:25.
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.