More uses of member
?- member(X,[]). No
?- member(X,[1,2,3]). 1 ; 2 ; 3 ; No
?- member(7,X). X = [7|_G219] ; X = [_G218, 7|_G222] ; X = [_G218, _G221, 7|_G225] ;…
Previous slide
Next slide
Back to first slide
View graphic version