[database-devel] ByteString and Text - any conventions?

Bryan O'Sullivan bos at serpentine.com
Mon Aug 13 16:33:07 CEST 2012


On Sun, Aug 12, 2012 at 11:18 AM, Janne Hellsten <jjhellst at gmail.com> wrote:

> I note that postgresql-simple and mysql-simple use ByteStrings
> exclusively in the API.
>

No, that's not how they work. The underlying representation in some places
might be a ByteString, but the actual APIs don't use ByteStrings, they go
through typeclasses.

http://hackage.haskell.org/packages/archive/mysql-simple/latest/doc/html/Database-MySQL-Simple-Param.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/database-devel/attachments/20120813/42af8e8e/attachment.htm>


More information about the database-devel mailing list