
23 Mar
2011
23 Mar
'11
8:35 a.m.
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