Different member/2 variants in Picat language

后端 未结 0 1709
滥情空心
滥情空心 2021-02-13 06:02

Somehow it seems to me there is no difference
between the following two Picat member/2 definitions:

member1(X, [X|_]) ?=> true.
member1(X, [_|Y]) => m         


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