append in Prolog
append([],Ys,Ys).
append([X|Xs],Ys,[X|Zs]):-append(Xs,Ys,Zs).
Previous slide
Next slide
Back to first slide
View graphic version