5 ms·
This is awesome! This is another brick in the road to requiring formal methods. Hmm, typed multiple database-call transactions. Are there type safe database li
by sitkack 7y ago
This is awesome! This is another brick in the road to requiring formal methods. Hmm, typed multiple database-call transactions.
Are there type safe database libraries for Idris or Rust?
- pyrale 7y agoNot what you ask, but squeal is a typed SQL wrapper for Haskell.
- LunaSea 7y agoIt's really just an ORM if I'm looking at the project.
- deleted 7y ago[deleted]
- pyrale 7y agoThe ORM part is a thin wrapping that is there to explain Haskell enough to have type-checking. The goal is really to have Haskell type-check the requests you make.
- LunaSea 7y agoYup and I think it's a noble goal but it's still implemented in a way where you're not writing SQL but some kind of other syntax. Also the issue is that it's trying to be database agnostic which means that you can't use any of the cool features from your database of choice.
- namibj 7y agoThere is something based on Bloom IIRC, but the whole concept should be well-described and discoverable from the Keeping CALM paper: https://arxiv.org/abs/1901.01930 https://arxiv.org/abs/1901.01930