[Haskell-cafe] Big Arrays

Antoine Latter aslatter at gmail.com
Sun Oct 3 15:54:40 EDT 2010


On Sun, Oct 3, 2010 at 11:18 AM, Bulat Ziganshin
<bulat.ziganshin at gmail.com> wrote:
> Hello Henry,
>
> Sunday, October 3, 2010, 7:54:49 PM, you wrote:
>
>> It looks like array ranges can only be Ints, and not Int64 or Word64 types.
>
> yes, it's Int internally got efficiency reasons. you can do your own
> implementation to override this limit :)
>

A good place to start when rolling your own is the primitive
package[1] on Hackage. It is intimately tied to GHC, however.

Antoine

[1] http://hackage.haskell.org/package/primitive


More information about the Haskell-Cafe mailing list