summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/shiftleft_2/sl.py
blob: ae412a6f8abc02df1cf1c05f8669f98d0875ed15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# coding=utf-8

name = 'shiftleft/2'
slug = 'Premakni elemente seznama za eno mesto v levo'

description = '''\
<p><code>shiftleft(L1, L2)</code>: elemente v seznamu <code>L1</code> za eno mesto premaknemo v levo ("circular shift").</p>
<pre>
?- shiftleft([1,2,3,4,5], X).
  X = [2,3,4,5,1].
</pre>'''

hint = {}