You can't write this in Haskell:
print(arr[i])
You can write this, but you probably wouldn't. print (arr `V.unsafeIndex` i) print(arr[i])
You can write this, but you probably wouldn't. print (arr `V.unsafeIndex` i)