Discussion: Add unboxed mutable references somewhere sensible

David Feuer david.feuer at gmail.com
Thu Feb 12 14:57:16 UTC 2015


Henning, the idea is to make something friendly to use, like an
unboxed Vector or Array. How that works under the hood is something I
don't want to have to think about too much, as long as it's efficient.

On Thu, Feb 12, 2015 at 5:06 AM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
> On Wed, 11 Feb 2015, David Feuer wrote:
>
>> The Data.Ref.Unboxed module in the ArrayRef package attempts to address
>> this, but it doesn't seem to get much visibility, and its code hasn't been
>> touched since 2009. What can we do about this?
>
>
> Use Ptr, Storable, poke and peek.


More information about the Libraries mailing list