Module description
Return a New RollingList, with the current element set to the next element
>>> toList (roll (fromList [1,2,3]))
[2,3,1]
>>> current (roll (fromList [1,2,3]))
Just 2Returns the currently selected element in the list
>>> current (fromList [1,2,3])
Just 1Create a normal list from a rolling list
>>> toList (fromList [1,2])
[1,2]The rolling list type.
Create a rolling list from a normal list