Re: [web-devel] [Haskell-cafe] [ANN] mysql-simple - your go-to package for talking to MySQL

On Tue, Jun 21, 2011 at 2:34 PM, cheater cheater
Hi, does the package adhere to some form of standard API that works the same way across other similar packages (different mysql drivers, postgres, mongo, couch, etc)?
Is there such a standard for haskell?
Not at the moment. I believe Bryan has at least talked with one other author (of a PostreSQL binding) about perhaps sharing an API in the future. My opinions is that we should wait to consolidate APIs/standardize interfaces until we actually have an idea what a good Haskell API for databases looks like. To know that we need to seem some different ones. Cheers, Johan

On 21 June 2011 15:28, Johan Tibell
On Tue, Jun 21, 2011 at 2:34 PM, cheater cheater
wrote: Is there such a standard for haskell?
Not at the moment. I believe Bryan has at least talked with one other author (of a PostreSQL binding) about perhaps sharing an API in the future.
Yeah, we discussed possibly merging some bits at some point (pgsql-simple).
My opinions is that we should wait to consolidate APIs/standardize interfaces until we actually have an idea what a good Haskell API for databases looks like. To know that we need to seem some different ones.
That's pretty much what we thought too. It's quite easy to use one when you've used the other. Trying to merge them now seems a bit premature.
participants (2)
-
Christopher Done
-
Johan Tibell