Prolog list: how to obtain pairs of adjacent items?

后端 未结 0 1045
时光说笑
时光说笑 2021-02-04 06:20

I want to provide a Prolog program that defines a predicate couples(L,C) that, given a list of integers L, returns a list of couples C that contains all the pairs of ad

相关标签:
回答
  • 消灭零回复
提交回复
热议问题