[Haskell-cafe] Re: databases in Haskell & type-safety

John Goerzen jgoerzen at complete.org
Fri Jan 9 10:31:56 EST 2009

Gour wrote:
> John> HDBC is a low-level abstraction, which can be used on its own or,
> John> of course, as a layer underlying HaskellDB or some such.  I do not
> John> dispute the use of tools such as HaskellDB or others that try to
> John> automate the business of representing a database's schema -- and
> John> queries against it -- using a language's type system.  There are a
> John> lot of these systems in a lot of languages.  I've used some of
> John> them.
> Have you maybe tried Takusen (HaskellDB which you reference above does
> not seem very much alive)?

No, I haven't, unfortunately.

> Otoh, I believe that, considering it is mentioned in RWH, HDBC does not
> need much commercial, just contrary, you can expect new feature requests
> From the new army of Haskell developers cultivated by the book :-)

That's great.  Even better if accompanied by a patch ;-)

> I'll e.g. open ticket for BLOB support :-D

Of course :-)

> Database abstraction offered by HDBC is very nice feature allowing one
> to change back-end driver without too much hassle, so I'll try to
> investigate a bit about possible BLOB support on HDBC-level.

That would be wonderful.

> It's definitely something used in real-world databases...

Yes, I'm quite aware of that.  Just not *my* particular ones ;-)

-- John

More information about the Haskell-Cafe mailing list