Sebastian Sylvan wrote:
On Nov 29, 2007 9:10 PM, Andrew Coppin <[EMAIL PROTECTED]> wrote:
How do you avoid accidentally recomputing the list multiple times?
What do you mean? It's exactly the same as your original program but
with ST instead of IO? Why would it get accidentally recomputed in
this scenario and not before?
Because before the moment when it gets executed relative to the main I/O
thread is explicitly defined, and now it isn't.
I don't see Data.Array.Base documented anywhere. (How did you know it
exists?)
Hmm.. I don't remember. But now you know too! :-)
I think it may be a secret GHC library that you're not supposed to know about...
Hmm. Secret... library... How do you guys find out about all this stuff?
(And if it's secret, should we be playing with it?)
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe