2

In the yesod book on persistence, the following paragraph talks about "... store strongly typed Haskell data":

Some Haskellers have attempted a more revolutionary route: creating Haskell specific data stores that allow one to easily store any strongly typed Haskell data. These options are great for certain use cases, but they constrain one to the storage techniques provided by the library and do not interface well with other languages.

I did a quick google search but it turned up sql related libraries on hackage. Also there is no hackage category "data base", only "data" which I don't want to search manually. Who are "those haskellers" and what are the currently developed haskell projects in this regard?

mrsteve
  • 4,082
  • 1
  • 26
  • 63
  • Maybe [ACID-state](https://hackage.haskell.org/package/acid-state)? – Bartek Banachewicz Nov 16 '14 at 11:34
  • @BartekBanachewicz that's an interesting project, but I was thinking more about data bases or solutions that offer reasonable performance to store numeric data. ACID seems more of a way to keep perstiance of an application. But also the paragraph above talks about "data stores", so a generic term. – mrsteve Nov 16 '14 at 12:03
  • 3
    [I've also found a more comprehensive list here](https://www.haskell.org/haskellwiki/Web/Databases_and_Persistence) – Bartek Banachewicz Nov 16 '14 at 12:05
  • @BartekBanachewicz that link sums it up. There is just acid-state and happstack-state that are non-sql-backward-compatible. The first seemst to be geared towards app-state persitance the second seems to be about web-framework persitance. There doesn't seem to be a haskell project that is a kind of a database (e.g., storing numeric values with good performance). – mrsteve Nov 16 '14 at 12:32
  • 1
    Its not really a database but it is a datastore - there also exists `dynamic-state` which can be made nice and typesafe using Lenses. Good for storing customizable data. – alternative Nov 16 '14 at 14:00

1 Answers1

0

Bartek's comment pretty much answers the question (if you come up with a better one please write your answer):

According to hackage Web/Databases and Persistence page, there is ACID-state and happstack-state.

mrsteve
  • 4,082
  • 1
  • 26
  • 63