Haskell Platform Proposal: add the 'text' library

Johan Tibell 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
> wrote:

> 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
> Array
> > 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

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20100908/b2211030/attachment.html

More information about the Libraries mailing list