Subscribe to
Posts
Comments

Archive for September, 2010

Ersin Er wrote a brief blog post about handling the Turkish language in Haskell. Because Turkish uses a character set that mostly looks familiar to Westerners, it is notorious for its ability to trip up the unwary programmer (see examples in PHP and PostgreSQL).12345678import Data.Text (pack, unpack)import Data.Text.ICU (LocaleName(Locale), toLower)main = do let trLocale = [...]
I spent some time today trying to talk to a MySQL database server from a piece of middleware I'm writing in Haskell. You might think that talking to a database server would be easy, but it turned out to be quite a bother.Both of the major MySQL bindings, HDBC-mysql and HDBC-odbc, use the libmysqlclient C [...]