
14 Jun
2015
14 Jun
'15
10:55 p.m.
On 06/13/2015 09:36 AM, derek riemer wrote:
Hi guys, As a newby to haskell, I was curious, what is the best way to splice an array or do things in the middle?
If you REALLY want to slice and aren't worried about index-safety, you should try using vectors instead of plain lists: https://hackage.haskell.org/package/vector/docs/Data-Vector.html On the right side of that page there's an index; you want the section called "Extracting subvectors (slicing)." You will need to install the "vector" package to get that stuff.