3 ms·
There are a number of SQL libraries. http://hackage.haskell.org/packages/archive/pkg-list.html#cat:database http://hackage.haskell.org/packages/archive/pkg-list
by chancho 17y ago
There are a number of SQL libraries. http://hackage.haskell.org/packages/archive/pkg-list.html#cat:database http://hackage.haskell.org/packages/archive/pkg-list.html#ca...
The complaint was that there aren't any mature libraries that go a step further, beyond feeding manually-constructed query strings to the DB connection, preventing injection vulns at the type level, etc. In an OO language this would be an object-relational mapper. I think the functional crowd is still trying to figure out what a "functional-relational mapper" is supposed to look like.
- TweedHeads 17y agoJust checking MySQL from that list: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsql-mysql http://hackage.haskell.org/cgi-bin/hackage-scripts/package/h... http://www.maubi.net/~waterson/hacks/hdbc-mysql.html http://www.maubi.net/~waterson/hacks/hdbc-mysql.html http://hackage.haskell.org/cgi-bin/hackage-scripts/package/haskelldb-hsql-mysql http://hackage.haskell.org/cgi-bin/hackage-scripts/package/h... Nop, not ready yet...
- chancho 17y agoFair enough. I won't argue with the fact that Haskell is not yet ready for TweedHeads.