implement negation (\+ or not/1) in WAM Prolog

后端 未结 0 1460
误落风尘
误落风尘 2021-02-15 07:34

How would you implement negation-by-failure (\\+) in WAM? Or (->;)soft-cut. We assume cut is implemented.

For example, once is described by swi-pl as,

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