I cant understand how the function subset(X,Y) works

后端 未结 0 820
一向
一向 2020-12-20 22:46

Can somebody to explain me this code? I try for hours to understand but i can\'t understand this...

subset([],[]).

subset([X|L],[X|S]) :- subset(L,S).

subse         


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