Hello,
When I run the first code from the persistent page I see this error appear,
* Couldn't match type `BaseBackend backend0' with `SqlBackend'
arising from a use of `runSqlite'
The type variable `backend0' is ambiguous
* In the expression: runSqlite ":memory:"
In the expression:
runSqlite ":memory:"
$ do michaelId <- insert $ Person "Michael" $ Just 26
michael <- get michaelId
liftIO $ print michael
In an equation for `main':
main
= runSqlite ":memory:"
$ do michaelId <- insert $ Person "Michael" $ Just 26
michael <- get michaelId
liftIO $ print michael
|
24 | main = runSqlite ":memory:" $ do
I can make a PR how to solve this but I need to know where this page can be found.