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?
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?