Closed joeyadams closed 12 years ago
I had already decided to do this, so thank you for doing the work! String is just ludicrously bad, even with fusion.
Thanks for merging this.
When can we release the new direct-sqlite? Should it be version 3.0, or 2.1? I'd like to start updating sqlite-simple and persistent-sqlite.
@IreneKnapp Any thoughts on when the next release will happen? I'd also like to update my library to the latest direct-sqlite.
This commit replaces all usage of
String
in Database.SQLite3 withText
. We were already usingText
to marshal SQLite3TEXT
data. This commit usesText
instead ofString
for the following:open
exec
andprepare
bindParameterName
SQLError
But do we want to do this?
Pro:
Text
, so this would be less conversion for them (and for us, too).Con:
OverloadedStrings
(or use pack everywhere)..Direct
instead.String
.An alternative proposal would be to make a
Database.SQLite3.Text
module. On the other hand, we don't want to put too much code on top of our package, as it's also carrying thesqlite3.c
amalgamation.Thoughts?