[Haskell-cafe] idea for avoiding temporaries
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Thu Mar 8 17:50:39 EST 2007
On Mar 8, 2007, at 17:09 , Matthias Neubauer wrote:
> David Roundy <droundy at darcs.net> writes:
>> I see. But how would one manage these handles? What's to keep me
>> 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
>> 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] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the Haskell-Cafe