revList(L,R).
revList([],[]).
revList([a],[a]).
revList([b,c],[c,b]).
revList([d,e,f],[f,e,d]).

revList([X],[X]).
revList([Y,Z],[Z,Y]).

