name = 'shiftright/2' slug = 'shift a list right' description = '''\
shiftright(L1, L2): the list L2 is obtained from L1 by shifting elements to the right by one (circular shift).
shiftright(L1, L2)
L2
?- shiftright([1,2,3,4,5], X). X = [5,1,2,3,4].