Pure append/3 for mode (-,+,+) that wouldn't leave a Choice Point

前端 未结 0 599
独厮守ぢ
独厮守ぢ 2020-12-18 16:34

The usually append/3 is pure, but it leaves a choice point for mode (-,+,+):

?- append(X, [3], [1,2,3]).
X = [1, 2] ;
false.

That thee is a c

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