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?

-Matthias

-- 
Matthias Neubauer                                       |
Universität Freiburg, Institut für Informatik           | tel +49 761 203 8060
Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to