Hi,

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.  The equivalent code
in the ST monad doesn't show this behavior, and works as expected.

I'm not sure what is going on here, so I thought I'd ask in case anybody
can put me on the right track.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants

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

Reply via email to