How would a find function like the one we developed in Haske
How would a find function, like the one we developed in Haskell, differ if it were written in Prolog?
Solution
Answer:
In general the find function in prolog is given as below :
findall(Object,Goal,List).
The example is given as below :
findall(X,descend(arrays,X),Z).
