Are there any ORM tools for Haskell?
The reason that ORM libraries exist is that there is relative big difference between Objects in C# or Java and what you store in a database. This is not so much an issue in Haskell because:
- It does not have Objects
- Both databases and Haskell list have their inspiration in mathematical set theory, so the friction between them is a lot less than between databases and Objects.
The library I have in mind is not an ORM, but it may still do what you want.
If you want something that makes your database accesses safe while integrating things into your program nicely then try out HaskellDB. It basically looks at your schema, generates some data structures, and then gives you type safe ways to query. It's been around for quite a while and the community opinion is that it's good and stable.
To use it, you'll need some underlying Haskell DB library like HSQL.
Good luck!