On Mar 8, 2007, at 17:09 , Matthias Neubauer wrote:
David Roundy <[EMAIL PROTECTED]> writes:
I see. But how would one manage these handles? What's to keep me
from
accidentally copying a handle? It sounds like it'd require
explicit memory
management, in order to avoid ever copying a handle, if I were to
implment
this myself.
Because you seem to write imperative code anyways: can't you simply
use a specialized state monad with the array(s) hidden inside the
monad as monad state?
Err, wasn't the point was that he wanted a pure way to get out of
writing that imperative code?
--
brandon s. allbery [linux,solaris,freebsd,perl] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe