Sorting a list in prolog based on 2 keys

前端 未结 0 731
走了就别回头了
走了就别回头了 2020-12-12 19:35

let\'s suppose that I have this list.

A=[(a,1), (b,3), (d,2), (c,2)]

I wanna sort it based on 2 things, first I check the numbers, if they ar

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