There is a lot of databases, but I feel something different needed for Haskell. Like Erlang has it's own DB, Mnesia. Please recommend some good DBs for Haskell.
There are various frameworks for Haskell available, HDBC being the most popular.
HDBC is the database abstraction library, which allows you to use many popular databases, even Oracle or DB2. See Chapter 21. Using Databases in Real World Haskell.
I would advise you to choose the database depending on the type of data you want to store in it, rather than the language your system is implemented in.
Of course, this presupposes that bindings for the database exist in the language.
Since the question mentions Mnesia, I'll mention Haskell's equivalent: AcidState. It's a fast and flexible nosql database written in Haskell that has support for representation of native and user-defined Haskell types (that link shows you some quick how-tos, including implementing a hello-world blog).
There's more recent documentation on their wiki, and I've personally used it here in the implementation of a small web app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With