[Haskell-beginners] Array/Vector like DS in haskell

John M. Dlugosz ngnr63q02 at sneakemail.com
Fri Mar 28 06:59:26 UTC 2014


On 3/28/2014 12:30 AM, Nishant wrote:

> Can someone elaborate on how to create a DS which acts like an array or vector and has
> same time complexity ?
>
>
> A list though can act like array but getting value at index i is linear time but in actual
> array it is constant.

I was just reading  http://www.haskell.org/haskellwiki/Arrays





More information about the Beginners mailing list