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

254 Commits

Author SHA1 Message Date
Sean Chalmers
1266c83611 Merge branch 'master' of github.com:qfpl/applied-fp-course 2018-05-08 09:11:13 +10:00
Sean Chalmers
dd907523ba
Full Course Layout Change with a shuffle. (#54)
* Restructure entire course into a single library with multiple executable definitions. Makes working through the course a bit easier with respect to sandboxes, nix shells, and stack caching. Should be a side benefit of giving editor tooling a bit of an easier time. Lowers switch time between course levels.

* Readme updates to suit new structure.

Add comment to cabal file.

* Syntax error in Travis yml file.

Not sure where yet.

* Applied some linting suggestions to travis file

* Fixed missing comments in travis yml, removed duplicate executable entry in the cabal file

* Added changelog file, vcs entry to cabal file

* Fixing travis file, WIP.

* Still trying

* Added cabal.project file

* Still trying (Travis)

* Moved var declaration to higher level in travis.yml file.

* Forgo the complexity of hvrs script and go low-tech.

* Remove Haddocks from stack build.

Add extra-deps because what was a working stack build is now failing for some
reason, despite having the same version bounds and using the same LTS as before.

* Added more deps to extra-deps to appease the stackbeast.

* Updated base README

* Readme tweaks, level 03 test updates

* Moved Level07 to Level05, bumped other levels accordingly.

* Moved 'Main' to 'Core'.

Updated READMEs, first pass.

Updated Cabal file.

Updated Tests to handle change of Main to Core.

* Proof read #3616

Lots of small fixes for file paths, wording, some additional exercises. Fixed up
the tests to be more consistent as they've been reordered a few times and mostly
left to rot.

Readmes updated where needed.

New exercise added to level07 for using the general `ExceptT` type.

* Fix up some tests and avoid any more dynamic linking errors, I think

* Fix up cabal config for doctests, missing packages and some exposed-modules

* Removed use of Semigroup in tests to avoid CPP in cabal file for including semigroups package. Added bounds to base dependency for doctests test-suite
2018-05-08 09:02:51 +10:00
Sean Chalmers
bbfb78cef6 Update changelog file in cabal files 2018-04-30 09:39:44 +10:00
Sean Chalmers
10612052be
Merge pull request #53 from it4rb/master
correct link in level04 README
2018-04-04 09:44:07 +10:00
Sean Chalmers
d9731ad039
Merge pull request #52 from gwils/relax-http-types-upper-bounds
Relax the version bounds on http-types.
2018-04-04 09:43:12 +10:00
Sean Chalmers
0563ee3cab
Merge pull request #51 from gwils/all-upper-bounds
Add upper bounds to all dependencies
2018-04-04 09:42:00 +10:00
Sean Chalmers
4dbbf4cc1b
Merge pull request #50 from gwils/support-ghc-8.4.1
Add support for GHC 8.4.1
2018-04-04 09:41:01 +10:00
Le Cao
5269a43974 correct link in level04 README 2018-03-31 22:01:44 +07:00
George Wilson
7bc1a8e807 Relax the version bounds on http-types. 2018-03-29 21:59:38 +10:00
George Wilson
e7dd6b5a9f Add upper bounds to all dependencies 2018-03-29 21:37:07 +10:00
George Wilson
bbfae6a6d6 Add support for GHC 8.4.1
Also remove 7.8 with lower bounds, since we don't support it.
2018-03-29 21:18:06 +10:00
George Wilson
020961d4a2
Merge pull request #49 from qfpl/travis-chgs
Travis changes & Version Bumps
2018-03-29 11:05:52 +10:00
George Wilson
e50667fc6e Bump some upper bounds, and replace <= with < in upper bounds 2018-03-28 11:04:07 +10:00
Sean Chalmers
f95b7d2eae
Merge pull request #48 from parsonsmatt/master
Fix stack ghci instruction
2018-03-26 10:30:33 +10:00
Matt Parsons
58beb17c0a Fix stack ghci instruction 2018-03-24 11:27:55 -06:00
Sean Chalmers
5c6c8bdaf2 Forgot to bump level06 doctest dependency 2018-03-22 16:23:15 +10:00
Sean Chalmers
6125f12643 Loosen doctest bounds 2018-03-22 13:56:00 +10:00
Sean Chalmers
25c06ada7f Test builds with Cabal 2.0 for all GHC versions. Loosen upper bound for base to accommodate GHC 8.4.1 2018-03-22 13:30:38 +10:00
Sean Chalmers
394746b431 Try to reduce the number of redundant package builds without cabal new-build 2018-03-22 11:59:37 +10:00
Sean Chalmers
a11be7184c Enable tests when installing dependencies 2018-03-22 10:59:29 +10:00
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