Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有一个列表,并且想要生成一个列表,其中包含由“函数”转换的所有项目,例如,相当于 Lisp 的
(map f xs)
我如何在 Prolog 中做同样的事情?