What's the equivalent of a map function in Prolog?

86 Views Asked by At

If I have a list, and want to produce a list with all items transformed by a "function", eg, the equivalent of Lisp's

(map f xs)

How do I do the equivalent in Prolog?

0

There are 0 best solutions below