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

184 Commits

Author SHA1 Message Date
Sean Chalmers
b8d31ac273 Attempting to fix missing dependencies for normal cabal builds 2018-03-22 10:43:09 +10:00
Sean Chalmers
5696f78832 Forgot to install dependencies, like a boss 2018-03-22 10:34:31 +10:00
Sean Chalmers
ce813ca97b Restructure loop to stay in parent folder if the Cabal Ver is 2.0, or loop through the folders otherwise. 2018-03-22 10:28:08 +10:00
Sean Chalmers
ac7a0cdecb Remove tar/dist checking as this is a not a library to be released 2018-03-22 10:18:14 +10:00
Sean Chalmers
9f3a091404 Run cabal update to try to avoid errors about missing pkg index 2018-03-22 10:07:54 +10:00
Sean Chalmers
ed39993bcc Attempting to fix failing builds for non cabal > 2.0 2018-03-22 10:01:16 +10:00
Sean Chalmers
870eebc7a1
Merge pull request #44 from kevroletin/master
Add missing dependencies to level05.nix
2018-03-22 09:51:25 +10:00
Vasiliy Kevroletin
ace5b7391f Add missing dependencies to level05.nix
Problem:
> nix-shell
> cabal test
fails during build with the error
> cabal: Encountered missing dependencies:
> hspec >=2.2 && <3.0, hspec-wai >=0.6 && <0.10, wai-extra ==3.0.*

Cause:
Missed dependencies in level05.nix

Fix:
Just copy level04.nix definition into level05
2018-03-12 11:10:01 +10:00
Sean Chalmers
cefc9962a5
Merge pull request #42 from pechersky/level04-conf-comment
Remove reference to appconfig.json in level04
2018-03-07 08:48:45 +10:00
Yakov Pechersky
026f8011ff Remove reference to appconfig.json in level04 2018-02-25 23:13:26 -05:00
Sean Chalmers
86ee5d694e Fixes #20 - Add note to Instructor Notes for composed fmap 2018-02-12 10:20:59 +10:00
Sean Chalmers
12db3af062
Merge pull request #41 from qfpl/call-out-traversable-bifunctor
Add mention of traversable/bifunctor to README of level04
2018-02-12 10:05:35 +10:00
Sean Chalmers
9ebeb64004 Trim down the introduction of Traversable 2018-02-12 10:02:39 +10:00
Sean Chalmers
87ab685812 Add mention of traversable/bifunctor to README of level04 2018-02-09 15:21:02 +10:00
Sean Chalmers
889c1dd658 Minor adjustments. Fix some remaining capitalisation issues for runDB 2018-02-09 11:33:59 +10:00
Sean Chalmers
769e6966a8
Merge pull request #36 from qfpl/optparse-bounds
Widen optparse-applicative bounds, upper bounds ftw.
2018-02-09 08:34:56 +10:00
Sean Chalmers
0f7b763314
Merge pull request #37 from qfpl/paritcularly
Fix typo
2018-02-09 08:32:58 +10:00
Sean Chalmers
8b7b5e4660
Merge pull request #38 from RacingTadpole/patch-3
Add how to run tests in repl
2018-02-09 08:32:42 +10:00
Sean Chalmers
7f0e6848ee
Merge pull request #39 from RacingTadpole/patch-4
Update README to include how to actually _run_ the tests with: `cabal test`
2018-02-09 08:31:51 +10:00
Sean Chalmers
86f9db73fe
Merge pull request #40 from RacingTadpole/patch-5
Tiny comment grammar fix
2018-02-09 08:31:07 +10:00
Sean Chalmers
11b38f5333
Merge pull request #34 from RacingTadpole/patch-1
Fix ref to loading level03-tests in ghci
2018-02-08 16:14:09 +10:00
Arthur Street
aef29c3893
Tiny comment grammar fixup 2018-02-08 06:06:31 +10:00
Arthur Street
bd25cd28cf
Update README with cabal test 2018-02-08 06:03:50 +10:00
Arthur Street
205ace4b65
Add how to run tests in repl 2018-02-07 14:48:23 +10:00
Andrew McCluskey
aa02cf3198 Fix typo 2018-02-07 11:57:57 +10:00
Andrew McCluskey
0c167bc499 Widen optparse-applicative bounds
0.13.2 is what I get on my nixos 17.09
2018-02-07 09:49:47 +10:00
Arthur Street
6eaeb3a9d1
Fix ref to level03-tests 2018-02-06 16:05:11 +10:00
Sean Chalmers
463e3c0a9a Move definition of newtypes in Types.hs Level02.
Moved the defintion and some of the wording for the ``Topic`` and
``CommentText`` newtypes to be above the ``RqType`` exercise to try to make it
more obvious that these types are involved and kinda useful.

Working towards a fix for #24
2018-02-02 15:50:44 +10:00
Sean Chalmers
2f5d2ffc94 resolve #25
Add some more guidance around the ContentType and values for the
respective content types.
2018-02-02 14:37:44 +10:00
Sean Chalmers
4aa031572e For stack.yaml for subprojects.
It's 'packages' not 'projects'.
2018-02-02 13:41:53 +10:00
Sean Chalmers
a23fee6067 Apparently stack does care about the file extension 2018-02-02 11:52:25 +10:00
Sean Chalmers
554bdc1e08 Add mention of fromIntegral function.
Per #28 , added some wording for the `fromIntegral` function.

Removed the 'aside' for `ghcid` as this was causing more problems
than it was solving. Too many install / usage dramas.

Added a snippet for loading a repl with test libraries and packages
loaded. Because I had completely forgotten how to do that.
2018-02-02 10:44:53 +10:00
Sean Chalmers
b43afca171 Add some more guidance:
- Indication that you need to complete the `FromRow` instance.
- Construction of the `DBComment` type.
2018-02-02 10:16:47 +10:00
Sean Chalmers
f69fc1bf39 Upgrade CI so we test building with stack as well 2018-02-02 09:59:55 +10:00
Sean Chalmers
5a5dc74473
Merge pull request #32 from gwils/test-ghc-8.4.1
Test GHC 8.4.1 on travis
2018-02-01 17:26:32 +11:00
Sean Chalmers
05d60abd4b
Merge pull request #23 from endgame/hide-constructors
Move Topic/CommentText into their own modules to hide constructors
2018-02-01 17:21:32 +11:00
Sean Chalmers
7e70ba81be
Merge pull request #31 from campezzi/patch-1
Update README.md to reflect current level content
2018-02-01 17:06:48 +11:00
George Wilson
d51d170e09 Test GHC 8.4.1 on travis 2018-02-01 15:42:07 +10:00
Thiago Campezzi
f1f1f22c1e
Update README.md to reflect current level content 2018-02-01 16:41:22 +11:00
Sean Chalmers
b27f70d371
Merge pull request #21 from qfpl/relax-hspec-wai-bounds
Relaxing version bounds for hspec-wai, specifying lower & upper bound.
2018-02-01 14:44:33 +11:00
Sean Chalmers
03c7fe3cc4
Merge branch 'master' into relax-hspec-wai-bounds 2018-02-01 14:17:12 +11:00
Sean Chalmers
b2d6008ff6
Merge pull request #30 from AlistairB/stack-latest
Update to stackage LTS 10 (GHC 8.2.2)
2018-02-01 14:14:56 +11:00
Alistair Burrowes
1f5de69fdb Update to stackage LTS 10 (GHC 8.2.2)
Includes some version bumps required for the stackage version.
2018-01-31 12:20:33 +11:00
Jack Kelly
1cbdafd62d Move Topic/CommentText into their own modules to hide constructors 2018-01-30 18:06:42 +11:00
Sean Chalmers
ac25d90ddf Relaxing version bounds for hspec-wai, adding upper bound. 2018-01-28 21:53:17 +10:00
Sean Chalmers
51b0ba4e1c
Merge pull request #17 from qfpl/new-transformer-exercises
New transformer exercises, version 1. Fixes #16
2018-01-28 21:37:15 +10:00
Sean Chalmers
2a35db9d5b Keeping in sync with latest updates to master 2018-01-27 15:32:27 +10:00
Sean Chalmers
8bb45ce073 Update wording 2018-01-27 15:11:43 +10:00
Sean Chalmers
6e41c254d8 Added some tests, renamed the throwLeft function, added some better wording for Level06 AppM 2018-01-27 15:04:36 +10:00
Sean Chalmers
b03fa5912d Change up some wording 2018-01-26 15:24:44 +10:00