Rewrote with accumulators to trigger tco.
Rewrote with accumulators to trigger tco.

Re: https://github.com/purescript/purescript-arrays/pull/5#issuecomment-42902783

negator/purescript-arrays,pure14/purescript-arrays,hdgarrood/purescript-arrays,purescript/purescript-arrays,pure14/purescript-arrays