Add a simple logging effect and adapt only at IO sites

This commit is contained in:
James Eversole
2024-10-12 17:38:22 -05:00
parent 6e2fb3b9bd
commit 9a8bd089e5
4 changed files with 76 additions and 36 deletions

View File

@@ -7,3 +7,5 @@ A nix starting template for web projects utilizing
- [Lucid](https://github.com/chrisdone/lucid)
- [PostgreSQL](https://www.postgresql.org/)
- [Servant](https://github.com/haskell-servant/servant)
The repository has a simple CRUD implementation of a "Users" API which demonstrates how to use included effects, create your own effects, and bubble errors to Servant's `ServerError` type.