IreneKnapp / direct-sqlite

MIT License
35 stars 54 forks source link

Should we use Text instead of String in the API? #14

Closed joeyadams closed 12 years ago

joeyadams commented 12 years ago

This commit replaces all usage of String in Database.SQLite3 with Text. We were already using Text to marshal SQLite3 TEXT data. This commit uses Text instead of String for the following:

But do we want to do this?

Pro:

Con:

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 the sqlite3.c amalgamation.

Thoughts?

IreneKnapp commented 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.

joeyadams commented 12 years ago

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.

nurpax commented 12 years ago

@IreneKnapp Any thoughts on when the next release will happen? I'd also like to update my library to the latest direct-sqlite.