Prolog encoded integers, less/2(X, Y) predicate

前端 未结 0 1907
陌清茗
陌清茗 2021-01-02 00:28

A question states the following:

In Prolog, non-negative integers can be encoded as numerals given by 0 and its successors (with, for example, the numeral s(s(s(0)))

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