"FastPackedString" considered harmful

Udo Stenzel u.stenzel at web.de
Thu Apr 20 04:30:28 EDT 2006


Donald Bruce Stewart wrote:
> 
> I do think FastPackedString is not a suitable for a standard Haskell
> library as long as it only works on byte strings.

How about making it polymorphic then?  It could work on everything
Storable, with a bunch of specialized funktions for the common
Word8/Word16/Word32 and Char variants.


Udo.
-- 
When someone says "I want a programming language in which I need only
say what I wish done," give him a lollipop.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/libraries/attachments/20060420/96cacd5a/attachment.bin


More information about the Libraries mailing list