[Haskell] Re: ANNOUNCE: FPS - FastPackedStrings 0.2

John Meacham john at repetae.net
Wed Apr 19 20:33:37 EDT 2006

On Wed, Apr 19, 2006 at 05:24:52PM -0700, Ashley Yakeley wrote:
> Donald Bruce Stewart wrote:
> >    Interface:   
> >    http://www.cse.unsw.edu.au/~dons/fps/Data.FastPackedString.html
> I'm bothered that some of the functions work with Word8, and others with 
> the utterly unrelated type Char. Which encoding are you implicitly 
> using, and why? Given that FastString turns out to be an array of Word8, 
> why are you using Char at all?
> Confusion of Char and Word8 is a bit of a pet peeve of mine.

It is a huge pet peeve of mine too.

perhaps this library should be renamed 'FastByteArray' instead? which is
a very useful datatype too.


John Meacham - ⑆repetae.net⑆john⑈

More information about the Haskell mailing list