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