by iso-8859-1 · 9y ago · 0 comments
There is even a real relational database system in Haskell that actually obeys the laws relational algebra, unlike SQL.
https://github.com/agentm/project-m36/blob/master/docs/on_nu...
But in its current form, Haskell is just not a DBMS. So, it must rely on a DBMS like postgres or mysql, and the semantics of the DBMS matter very much.
And yes, I can compare SQL to Haskell, and I did a while back:
http://thoughts.davisjeff.com/2011/09/25/sql-the-successful-...
Haskell creates some problems for joining different transactions into the same set of guarantees (like SQL does in optimist data sharing). But I'm sure there's some extension somewhere that makes the perfect data type for that possible - I just don't know about it.