On 23 March 2011 13:35, Ketil Malde <ke...@malde.org> wrote:
> I'm seeing some weirdness here.  My code does this:
>
>    omap <- atomically $ (newArray_ (0,n-1) :: STM (TArray Int Int))
>
> This gives a stack overflow when n is one million.

I can't reproduce this with ghci-7.0.2 (base-4.3.1.0, array-0.3.0.2
and stm-2.2.0.1). What version of ghc/ghci are you using?

Bas

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to