
2 May
2011
2 May
'11
11:42 a.m.
Re-CCing the list.
On 2 May 2011 11:33, John Sneer
I took a look at http://cvs.haskell.org/Hugs/pages/libraries/base/Data-Sequence.html but it doesn't seem to be helpful - cannot insert sequence into the sequence, just modification of a single element is supported. Moreover, indexing via Ints would require extra recalculation when something is somewhere inserted.
So, either it is not the solution or I have not understood the Sequence well. :-(
Well, you can split the list (probably using splitAt) and then insert another one in between (using ><). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
5179
Age (days ago)
5179
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ivan Lazar Miljenovic