mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-27 01:23:00 +03:00
30df1c9252
'Simply' and 'Just' are banned from instructional documentation, imo. Often, for the people using these exercises, things are rarely either. |
||
---|---|---|
.. | ||
bin | ||
src/FirstApp | ||
tests | ||
appconfig.json | ||
ChangeLog.md | ||
default.nix | ||
level05.cabal | ||
LICENSE | ||
README.md | ||
Setup.hs | ||
shell.nix |
Level 05
We need a place to store our Comments/Topics, so we're going to use the SQLite database. We've chosen SQLite because it takes the least amount of setup for the purposes of the course. There is an example module included for PostgreSQL however the course will focus on the SQLite implementation.
For reference, the packages we will use to talk to our database are:
Start in src/FirstApp/DB.hs
NB: The PostgreSQL example module is in src/FirstApp/DB/PostgreSQL.hs
.