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

285 Commits

Author SHA1 Message Date
Jack Kelly
776afec96b Incorporate Sean's feedback; drop -XQuantifiedConstraints 2020-02-23 10:12:48 +10:00
Jack Kelly
6c38248a4e More nits 2020-02-22 20:12:00 +10:00
Jack Kelly
6a80899246 Remove "Exercise" comment from solution 2020-02-22 14:34:41 +10:00
Jack Kelly
db71e0ff74 Close <details> tags 2020-02-22 14:32:50 +10:00
Jack Kelly
a5099d5a28 Fix MINIMAL annotation 2020-02-22 12:55:13 +10:00
Jack Kelly
3d0a28ea16 Add waargonaut link 2020-02-22 12:54:43 +10:00
Jack Kelly
48d86f0b45 Use explicit <code> tags in <details> 2020-02-22 11:52:58 +10:00
Jack Kelly
ff8c990d45 Nit 2020-02-22 11:52:09 +10:00
Jack Kelly
ea30a70d2e Add HKD bonus stage 2020-02-22 11:06:30 +10:00
endgame
f48d4d8dd1
Merge pull request #92 from qfpl/bonus-mtl
Bonus mtl
2020-02-20 13:55:16 +10:00
Jack Kelly
05e739e94a Final nits 2020-02-20 13:54:40 +10:00
Jack Kelly
44b655ccdf Clarify wording 2020-02-20 10:30:12 +10:00
Jack Kelly
fc4c8347d0 Incorporate feedback 2020-02-20 10:26:54 +10:00
Jack Kelly
c256a915f8 Nitpicks, add link to markdown-unlit 2020-02-19 18:39:03 +10:00
Jack Kelly
7d8628171e Add spacing - maybe it fixes github rendering? 2020-02-19 18:36:17 +10:00
Jack Kelly
fc3395053d Fix IRC link 2020-02-19 18:33:37 +10:00
Jack Kelly
09cae81b1b Add bonus content - mtl 2020-02-19 18:33:35 +10:00
Jack Kelly
c9ccb0ec8d Tidy instructor notes 2020-02-19 10:25:34 +10:00
Jack Kelly
00192bba27 Remove old stack snapshot CIs 2020-02-05 15:02:58 +10:00
Jack Kelly
9443a817c1 Bump stackage LTS version 2020-02-05 11:26:59 +10:00
Jack Kelly
cb721bd08f Uncomplete Level01 core 2020-02-05 07:59:27 +10:00
endgame
8f003686c0
Merge pull request #90 from qfpl/package-updates
Package updates
2020-01-31 14:53:54 +10:00
Jack Kelly
2623e3b5db Doc updates 2020-01-31 14:52:30 +10:00
Jack Kelly
95598cf30b Expand versions, bump nixpkgs snapshot 2020-01-23 14:49:44 +10:00
Jack Kelly
a8d270b4c6 Fix monospace quoting 2020-01-23 14:46:52 +10:00
Erzsebet Nemeth
cd7b054055
Update Data61 logo 2019-11-25 11:51:48 +10:00
Sean Chalmers
e0832881cf
Merge pull request #88 from qfpl/semigroup-last
Last from Monoid is deprecated, use the one from Semigroup
2019-09-19 12:56:56 +10:00
Sean Chalmers
0f6ec9fa16 Add document for facilitators 2019-09-18 13:34:10 +10:00
Sean Chalmers
e2c34b647f Related to #83 - Remove some references to 'monad transformers' 2019-09-12 11:52:43 +10:00
Sean Chalmers
2470996792 Fix Last semigroup example in the docs 2019-09-12 10:57:56 +10:00
Sean Chalmers
aaf4522752 Update docs after removal of Monoid for PartialConf 2019-09-12 10:53:13 +10:00
Sean Chalmers
2b796f10b7 Last from Monoid is deprecated, use the one from Semigroup
Towards #86
2019-09-12 10:15:54 +10:00
Sean Chalmers
ef287f1aec Callout the use of runDBAction.
This is a naive attempt at #85, since it is easy to miss the reference to catching the
possible exceptions from the SQLite functions.
2019-09-12 09:56:43 +10:00
Sean Chalmers
59cb74dfdc Merge branch 'master' of github.com:qfpl/applied-fp-course 2019-09-12 09:47:07 +10:00
Sean Chalmers
abb0f7cba9 Fixes #87 - Remove return from Monad instances
The `return` function is defaulted to `pure`. So it doesn't benefit anyone to have to
reimplement it.

Updated a couple of URLs in a readme to use `https`.
2019-09-12 09:45:58 +10:00
endgame
7bd18a998f
Level06/AppM.hs: fix error message 2019-09-10 09:11:48 +10:00
Sean Chalmers
8c160ca978 Remove recommendation for using cabal sandboxes 2019-09-05 15:29:49 +10:00
Sean Chalmers
da0b2056d2 Fixes #80
Update doctests to include `runAppM`, and change the `undefined` to
indicate that it should be replaced with a constructor.

Add more guidance to the `readConfFile` function.
2019-07-04 10:04:22 +10:00
Sean Chalmers
80c70f064b
Merge pull request #79 from groodt/greg-add-cabal-nix-shell
Add Cabal to nix-shell
2019-06-27 12:17:48 +10:00
Greg Roodt
0cbdfe3154 Add missing Cabal. 2019-06-24 09:32:49 +10:00
Tony Morris
ae80863396
Merge pull request #78 from qfpl/update-travis
Update travis GHC 8.6.2 -> 8.6.4
2019-03-10 20:57:09 +10:00
George Wilson
e0274a6a42 Update travis GHC 8.6.2 -> 8.6.4 2019-03-10 17:24:34 +10:00
Sean Chalmers
2adc05e2eb Disable documentation in cabal.project.
The haddocks will fail to build and this will cause a build failure if
you have documentation enabled.

Note that if this is overridden then there is nothing to be done about
it and the documentation will fail your build.

Fixes #77
2019-03-01 09:31:41 +10:00
Sean Chalmers
c673d27b45
Update the pinned nixpkgs, upgrade pkgs. (#74)
* Update the nixpkgs pinned version and move to explicit json file. Upgrade tasty-wai and waargonaut. Update affected levels

* Update versions in stack file.

* Add sop-core to stack.yaml

* Separate out overlays

Clean up default.nix

* Clean up `parseJSONConfigFile` with new Waargy goodness
2019-02-28 14:29:08 +10:00
Sean Chalmers
560a31e691
Merge pull request #73 from Errorific/level04_order
level04/Types.hs indicates the wrong next step
2019-02-20 09:08:41 +10:00
Chris Mckay
72629271b2
Changed the next module instruction for level04/Types.hs to match Readme order 2019-02-12 09:28:46 +10:00
Sean Chalmers
4403218268
Merge pull request #72 from gregberns/new-run
Change instructions to use 'new-run'
2019-01-08 08:46:05 +10:00
Sean Chalmers
a3c4ee786e Fix Error to be polymorphic for Level 07 instance of MonadError. 2019-01-03 09:05:14 +10:00
Greg Berns
104515f7d6 Change instructions to use 'new-run' 2018-12-25 19:14:35 -07:00
Sean Chalmers
1ce56dcb0c Pin nixpkgs
Reorder the modules in level04 to make the order more clear.

Add explicit exports to the AppM modules in 5,6, and 7 to help make it clearer
that you don't need to use the explicit constructors.

Update type signatures for config file functions in level 6 to use the newly
generalised AppM to take advantage of the variable error type.
2018-12-14 13:15:08 +10:00