1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-26 14:43:53 +03:00
Commit Graph

36 Commits

Author SHA1 Message Date
Sean Chalmers
ff4aa08822 Restructure to something more sensible
Also now it'll be consistent across levels 5-7.

Wording fixes, some more code stubbed out to be filled in by students.
2017-08-24 15:45:57 +10:00
Sean Chalmers
cccc88a650 Forgot the DbComment module.
Not sure at the moment how to weave that into the storyline for level05
and added some more explanation for level06
2017-08-24 14:53:08 +10:00
Sean Chalmers
4aa22d0e0b More wording updates
Removed more commented out code, removed some of the hand holding I had
and added some more indication of when you should probably just reach
for the docs
2017-08-24 14:34:01 +10:00
Sean Chalmers
5ba01551ad Wording updates.
Removing some commented out code.
2017-08-24 14:10:59 +10:00
Sean Chalmers
e491acb26e Restructured the Types.hs a bit to help with flow 2017-08-24 11:53:52 +10:00
Sean Chalmers
c5264cef02 Updated and shuffled.
Rearranged some of Level01/02 to give a bit more of a hint as to the
flow of the questions. Added more helpful text to level02/Types.sh
2017-08-24 11:23:26 +10:00
Sean Chalmers
d901dedf24 Questions, questions... 2017-08-23 17:14:29 +10:00
Sean Chalmers
c37183cdf2 Wording Updates
Removed a silly usage of `either` and fixed up a typo and some other
phrasing changes.
2017-08-22 09:14:19 +10:00
Sean Chalmers
3a6ebcb01d More comments in DB.hs
Some clean up to replace use of `either` when `first` would do.
2017-08-19 07:31:12 +10:00
Sean Chalmers
bb6572f434 Updated README 2017-08-18 16:14:54 +10:00
Sean Chalmers
3e2ae05a17 Bit more documentation on Level 07 2017-08-18 15:48:04 +10:00
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