[Haskell-cafe] return with mutable object
wangbj at gmail.com
Wed Jun 18 00:50:18 UTC 2014
Per my understanding, return x would make a new copy of the object. What if
the returned object is mutable? Will this make a new (mutable) object?
My concern is if I created a very large mutable object, does return mutable
make a full copy of the original mutable data, or just copy a reference
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe