Haskell Platform Proposal: add the 'text' library
johan.tibell at gmail.com
Wed Sep 8 07:13:36 EDT 2010
On Wed, Sep 8, 2010 at 12:05 PM, Duncan Coutts <duncan.coutts at googlemail.com
> On 8 September 2010 10:56, Johan Tibell <johan.tibell at gmail.com> wrote:
> > Btw, I see that the BA# constructor is not manually unpacked into the
> > data type. Is that done automatically since ByteArray# is unlifted or is
> > there some room for improvement here?
> I'm not sure what you're referring to here, the definition is:
> data UArray i e = UArray !i !i !Int ByteArray#
> The ByteArray# is an unlifted type (but its representation is a
> pointer to a heap object).
The BA# constructor also includes a length field. My question is whether
that gets unpacked into the Array constructor (as in Data.Text.Array, not
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries