1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-27 01:23:00 +03:00
Commit Graph

25 Commits

Author SHA1 Message Date
Sean Chalmers
f353868f4d Added some explanations for level 07 2017-08-18 14:13:24 +10:00
Sean Chalmers
2280b394c9 Updated README / Added Level07
Level 07 contains the addition of the ExceptT transformer for error handling in
the existing AppM from Level 06. Extends teh AppM to the DB layer.

Updated README with status
2017-08-17 16:48:54 +10:00
Sean Chalmers
746d73d902 Typo fix 2017-08-17 11:37:51 +10:00
Sean Chalmers
767256ebd4 Added more description around the ReaderT / AppM
More work needed to explain things a little better, not sure I've
made a good case for motivating the use of ReaderT or actually
explained it that well.
2017-08-17 11:31:46 +10:00
Sean Chalmers
e06eae6695 Tests weren't passing for level06
Tests now pass for level06

need more tests
2017-08-17 08:54:02 +10:00
Sean Chalmers
3f3ac5b108 Ugh, ReaderT lesson added.
Not sure I like it very much, the work continues.
2017-08-15 16:42:24 +10:00
Sean Chalmers
f7889ad714 Databasezz!
Added level05: installing a DB layer.

Updated the cabal files with a nice ghc-option of '-Wall -Werror'.

Added some more comments to the level04 testing page.
2017-08-15 15:17:04 +10:00
Sean Chalmers
14e7e81f46 Fix project restructure
Didn't properly move out the Main files to a separate location so
the dependencies and app building was a bit wacky. This fixes that.
2017-08-14 16:48:34 +10:00
Sean Chalmers
2b0a9fad90 Added PostgreSQL Db Integration
Will replace with SQLite because Postgres could be a giant pain.

Finish restructuring the cabal files/projects correctly to set a
better example for people.
2017-08-14 16:40:42 +10:00
Sean Chalmers
ac600a6609 Added Level05 - Add a database [WIP] 2017-08-11 16:28:56 +10:00
Sean Chalmers
803e6c58e9 Clean Up
Don't need the extra status declarations for some of the Hspec tests
at level04 as hspec-wai assumes 200 until told otherwise.

Removed Hedgehog from level04 tests, don't have a good use case.
2017-08-11 15:54:21 +10:00
Sean Chalmers
8f8bb6c123 Minor adjustments 2017-08-11 15:30:00 +10:00
Sean Chalmers
7ff2fe6e13 Fixed level01 structure 2017-08-11 11:19:01 +10:00
Sean Chalmers
344d3a1ad4 Updated level02 structure 2017-08-11 11:11:50 +10:00
Sean Chalmers
d9ee08993b Fixing structure of Level03 2017-08-11 10:55:12 +10:00
Sean Chalmers
e701b91a7b Add Level 04
Level 04 contains some testing fun.

Removed spurious yaml file from level03.

Update README.

Have noticed irritating snafu RE the app structure. Not built as a
library in other levels, will fix.
2017-08-11 10:40:05 +10:00
Sean Chalmers
d3e3ddfaad Updated list of exercise plans 2017-08-10 16:25:08 +10:00
Sean Chalmers
7329e58ae7 Updated third exercise.
Level 03 updated with a bit more information, removed yaml-config due to other
issues. Added the configuration to the main and updated the relevant bits.
2017-08-10 16:11:27 +10:00
Sean Chalmers
52d7a6fe75 Added third stage exercise
Not written up with comments or even very clean at the moment.

Trying to decide between exceptions and YAML or no exceptions but
manual parsing for JSON config file.

Or something else entirely...
2017-08-09 15:59:16 +10:00
Sean Chalmers
57b72204be Added two stages.
Level 01 : Absolute Starting Point
- possibly too basic

Level 02 : Start specifying an application and filling it out
- needs more detail about the spec we're trying to build

README adjustments.
2017-08-09 13:06:21 +10:00
Sean Chalmers
b19814fac8 Boss fights, steps. 2017-08-08 09:45:19 +10:00
Sean Chalmers
75738437f6 Moar 2017-08-07 17:14:29 +10:00
Sean Chalmers
2cdb401522 Formatting twiddles 2017-08-07 16:26:56 +10:00
Sean Chalmers
c7252bcf43 Started chipping away at progression.
Settled on postgresql-simple for DB layer for now.

Selda / Opaleye to come later in a Bonus Round.
2017-08-07 16:23:32 +10:00
Sean Chalmers
0d20a7341e Initial commit
Added README, gitignore. Still straight to master for now.
2017-08-07 13:21:51 +10:00