Haskell Platform Proposal: add the 'text' library

Ian Lynagh igloo at earth.li
Mon Oct 4 13:04:47 EDT 2010


On Sun, Oct 03, 2010 at 11:05:49PM -0400, Bryan O'Sullivan wrote:
> On Tue, Sep 21, 2010 at 10:53 AM, Ian Lynagh <igloo at earth.li> wrote:
> 
> > Still segfaults for me in 0.9, and I can't see the test for it.
> >
> 
> Turns out there were two bugs, not just one. It's definitely fixed in
> 0.9.0.1 :-)

Yup, that fixes that case, but this one still segfaults (on a 32bit
platform):

    import qualified Data.Text as T

    main :: IO ()
    main = do let s = T.replicate (5^11) (T.pack (replicate 89 'a'))
              print $ T.last s
              print $ T.head s


Thanks
Ian



More information about the Libraries mailing list