I have been using Haskell for a year or so, and it is fantastic. I have recently started using Servant; and I would like to use an SQL-library such as Selda, so that everything is type-safe. (This is truely incredible when combined with Elm! :) )
There is an example here: https://github.com/dmjio/servant-selda of using Selda with Servant, but only for postgres. During initial development, I've found it can be really useful to use SQLite.
I feel this should be possible, but I can't seem to find any examples. I have tried to look at the type signatures, to understand how to pass SQLite as a Pool; but this is a little above my Haskell'ing skills!
Has anyone experience of doing with Selda, or had success using another typesafe sql library with Servant? I am open to using other libraries other than Selda; I would like to use UUID's as primary-keys, and Persistent wasn't too happy when I tried this.
Thanks