beam
beam copied to clipboard
Implement a "pure" backend
SQLite lets you start an "in-memory" database. If we wrapped that in an ST-like monad, we could implement a "pure" backend that could be used in tests without dropping into IO.
This would require a rewrite of the sqlite bindings, but seems otherwise feasible.
I've also toyed with writing a totally pure backend just using ST.