Commit Graph
100 Commits
Author SHA1 Message Date
Joel Kaasinen cb2b64988a Set 4a Ex 1: one more test 2021-08-18 19:02:10 +03:00
Joel Kaasinen 8561b73fda Set 9a Ex 9: rewrite task, fix typo in test 2021-08-16 19:43:21 +03:00
Joel Kaasinen a8868f1d5f Set 9a Ex 9: fix test 2021-08-16 17:10:49 +03:00
Joel Kaasinen b81d7e6ed4 Set 9a Ex 9: fix example
closes #37
2021-08-14 20:56:16 +03:00
Joel Kaasinen 5674f579c8 Set 9a Ex 9: fix definition of multiplu 2021-08-10 20:38:43 +03:00
Joel Kaasinen c1b9dc5724 Set 9b Ex 6: add case for queen outside board 2021-08-09 18:24:07 +03:00
Joel Kaasinen e89b54a1af lecture 13, set 13a: clarifications 2021-08-09 18:17:40 +03:00
Joel Kaasinen ecdecda5d2 lecture 13: make comments overflow less 2021-08-09 18:13:02 +03:00
Joel Kaasinen 5d92362ad4 lecture 16: links to exercises, feedback 2021-08-09 18:05:52 +03:00
Joel Kaasinen 26fb33cb5b misc typos 2021-08-09 17:58:40 +03:00
Joel Kaasinen ae99a40e54 Set 10b: mention seq 2021-08-09 17:54:03 +03:00
Joel Kaasinen 1edfef09d4 Set 9b: fix typo 2021-08-09 17:50:15 +03:00
Joel Kaasinen f6b713d8e8 Set 5a: better error message for weird constructors 2021-08-09 17:48:05 +03:00
Joel Kaasinen ccd968d8c9 lecture 3: precision in quiz 2021-08-09 17:45:37 +03:00
Joel Kaasinen 04b210b73e part 2: improvements to lecture 12 and 15 2021-08-09 17:43:59 +03:00
Joel Kaasinen cbcbcc8332 Set 9: new Ex 9 2021-08-09 17:42:54 +03:00
Joel Kaasinen 47f6f9cc0b lecture 15: fix liftA2 definition 2021-06-25 19:19:42 +03:00
Joel Kaasinen 0a4bb1fc4e part2: typos 2021-06-21 17:30:57 +03:00
Joel Kaasinen 4a2d1f2f5b Set 15: make test order match exercise numbers 2021-06-21 17:28:34 +03:00
Joel Kaasinen de3d8759b9 Set 11b: fix exercise numbering 2021-06-21 17:27:18 +03:00
Joel Kaasinen dec492bfa0 Set 13a Ex 1: fix example 2021-06-19 22:21:27 +03:00
Joel Kaasinen eb361cdaa1 fix imports in Set 14b, fix typo in lecture 14 2021-06-19 22:20:12 +03:00
Joel Kaasinen a33c7cf377 Set 4a Ex 5: reword, add challenge 2021-06-19 22:17:14 +03:00
Joel Kaasinen 580b512db0 Move Set 11b Ex 5 to Set 13b 2021-06-19 22:11:02 +03:00
Joel Kaasinen 5e294d47c1 lecture 11: add a sentence to 11.4 2021-06-19 22:08:23 +03:00
Joel Kaasinen 60386aa65e Set 9a: isSpace 2021-06-19 22:04:09 +03:00
Joel Kaasinen 017af9d323 part2: a bit more about category theory 2021-06-19 21:59:51 +03:00
Joel Kaasinen 4a41bdfa3f lecture 12: fix Functor Maybe example
don't use InstanceSigs
2021-06-19 21:37:29 +03:00
Joel Kaasinen f51854be4d Set 9b Ex 8: don't use out-of-bounds coordinates in example 2021-06-17 19:47:19 +03:00
Joel Kaasinen afa9d14683 Set 13a Ex 9: fix template 2021-06-17 19:33:07 +03:00
Joel Kaasinen 8d839d9c45 img: nicer bounding boxes for square[12].svg 2021-06-09 18:27:17 +03:00
Joel Kaasinen c2a165d27c lecture 13: fix increase example
closes #36
2021-06-09 18:21:01 +03:00
Joel Kaasinen e479312849 lecture 11: clarify quiz question 2021-06-09 18:15:42 +03:00
Joel Kaasinen 833584f8b0 clarifications to Set10a, lecture 10 2021-06-09 17:54:53 +03:00
Joel Kaasinen 1b5e6bccd3 Set 16a Ex 6: one more test case
thanks to @Preoo

fixes #35
2021-06-07 21:33:24 +03:00
Joel Kaasinen d39c61c784 part1: update link for John Backus paper 2021-06-07 21:28:03 +03:00
Joel Kaasinen d64d8cce34 Set 10a: import Data.List 2021-06-07 21:26:07 +03:00
Joel Kaasinen 857248a2fe Set 10a Ex 8: add todo 2021-06-07 21:25:32 +03:00
Joel Kaasinen f4edd6aaca Set 10a Ex 7: clarify text 2021-06-07 21:24:59 +03:00
Joel Kaasinen 3ac0f330aa lecture 15: fix quiz 2021-06-05 13:08:14 +03:00
Joel Kaasinen a10ad239c0 lecture 14: use TL/BL consistently 2021-06-04 13:51:40 +03:00
Joel Kaasinen 8af9dd1cd4 lecture 14: sync text with example
fixes #33
2021-06-04 08:05:08 +03:00
Joel Kaasinen 83e820ddcd add missing dependency
so that `:load Set14b.hs` works in `stack ghci`

fixes #32
2021-06-03 15:11:39 +03:00
Joel Kaasinen 87bf8ebf3d Set 15: fix typo 2021-06-03 08:46:31 +03:00
Joel Kaasinen fc6670267c Set 9a Ex 9: clarify text, add test
for #31
2021-06-02 17:23:42 +03:00
Joel Kaasinen 5a09751913 Set 4a Ex 9: test smaller lists
to admit O(2^n) solutions
2021-06-02 17:03:46 +03:00
Joel Kaasinen 4266c5fdba Set 15 Ex 7: avoid hexadecimal and octal
closes #29
2021-06-02 09:42:18 +03:00
Joel Kaasinen 34aba18061 update 1.1 About the course 2021-06-01 15:40:21 +03:00
Joel Kaasinen ab348c7122 Set 16a: "Gave up!" is not the same as failed 2021-06-01 11:19:00 +03:00
Joel Kaasinen 49e58b63ca lecture 16 2021-06-01 10:31:19 +03:00
Joel Kaasinen 73959e4851 Set 14b: fix references to Set14b.hs 2021-06-01 08:32:16 +03:00
Joel Kaasinen 44e28b2bc1 update intro to part2 2021-05-28 09:52:55 +03:00
Joel Kaasinen 86b0084bf5 update hackage links 2021-05-28 09:51:42 +03:00
Joel Kaasinen 9ac4c48243 remove dependency on hedgehog 2021-05-28 08:53:34 +03:00
Joel Kaasinen f0efbae312 lecture 15: expand on 15.8 2021-05-27 11:16:01 +03:00
Joel Kaasinen ab4e6a965f style.css: add more margin to h1 2021-05-27 10:33:48 +03:00
Joel Kaasinen 05cbb774f7 lecture 15 2021-05-27 10:32:40 +03:00
Joel Kaasinen ad7b8edb45 Set 9b Ex 4: test deeper stacks 2021-05-24 08:08:32 +03:00
Joel Kaasinen 92d27bf6e4 Set 3a Ex 7&8: better error messages for infinite loops 2021-05-24 07:35:12 +03:00
Joel Kaasinen 8f6a8d3fd2 Set 11b Ex 6&7: avoid closing input handle prematurely
Should prevent 'illegal operation (delayed read on closed handle)'
errors.
2021-05-24 07:29:56 +03:00
Joel Kaasinen 897591c76b lecture 9: fix type of (==) 2021-05-11 15:42:28 +03:00
Joel Kaasinen f0722a3a8d Set 14a Ex 3: avoid bad test cases while shrinking 2021-05-05 07:54:57 +03:00
Joel Kaasinen 81e2914a15 part2: lecture 14 2021-05-03 09:21:18 +03:00
Joel Kaasinen e4efda28fb part2: remove TODO 2021-05-03 09:16:45 +03:00
Joel Kaasinen d5edf0b902 upgrade to stackage snapshot lts-17.10, GHC 8.10.4 2021-05-03 09:16:01 +03:00
Joel Kaasinen 1a58de3de2 style.css: fix width of ul 2021-05-03 09:14:53 +03:00
Joel Kaasinen b7aaa1bd89 Set 11b: avoid Too many open files error in tests 2021-04-27 16:09:14 +03:00
Joel Kaasinen 10609cad55 Set 10a Ex 4: new exercise 2021-04-26 15:34:20 +03:00
Joel Kaasinen 5bd7d338af Set 10a Ex 7: remove misleading data declaration from template 2021-04-13 09:18:07 +03:00
Joel Kaasinen 426f7de8cb Set12: add todo definitions to avoid infinite loop in tests 2021-04-13 09:07:57 +03:00
Joel Kaasinen e38c1e16c5 lecture 12: fix quiz 2021-04-13 09:05:23 +03:00
Joel Kaasinen fe8224de92 lecture 10: fix quiz 2021-04-13 09:02:00 +03:00
Joel Kaasinen 5217c9de5d lecture 9: fix typos, add recap of working on the exercises 2021-04-13 08:58:56 +03:00
Joel Kaasinen fbd2b2b939 part1: fix some typos 2021-04-13 08:49:56 +03:00
Joel Kaasinen 57df216b76 Set 3b Ex 14: remove unnecessary comment 2021-04-13 08:47:43 +03:00
Joel Kaasinen 23629296d1 part1: mention part2 2021-03-29 18:31:43 +03:00
Joel Kaasinen 7097ec804b lecture 13: mention the if-result pattern 2021-03-29 09:32:00 +03:00
Joel Kaasinen cfcd8b2526 add some dependencies
in preparation for expanding part2
2021-03-29 09:22:55 +03:00
Joel Kaasinen e32376a640 add text & bytestring dependencies 2021-03-23 12:31:32 +02:00
Joel Kaasinen c9a6dfb831 lecture 12: fix typo in mapTree definition 2021-03-22 08:43:42 +02:00
Joel Kaasinen 506264db37 Set 9b Ex 2: try to clarify 2021-03-22 08:39:33 +02:00
Joel Kaasinen 0963326ccf lecture 10: clarify referential transparency 2021-03-17 16:44:38 +02:00
Joel Kaasinen 9f97497a70 lecture 12: fix example
closes #27
2021-03-17 16:42:23 +02:00
Joel Kaasinen 2517829329 Set 10a Ex 7: fix typo in example 2021-03-12 14:10:17 +02:00
Joel Kaasinen c9fbcca16c lecture 1: fix typo
closes #24
2021-03-02 11:18:28 +02:00
Joel Kaasinen 5c5c6a125c convert some http links to https
LYAH, real world haskell and some blogs don't work over https

closes #26
2021-03-02 11:17:15 +02:00
Joel Kaasinen 4a73ce568a update hackage documentation links
... to point to the versions in the stackage lts-16.31 snapshot
currently in use

closes #25
2021-03-02 11:10:01 +02:00
Joel Kaasinen 150209a4a5 lecture 12: fix last quiz question 2021-03-02 11:03:24 +02:00
Joel Kaasinen 94996f8d97 part2: link to exercise files in github 2021-03-02 11:01:35 +02:00
Joel Kaasinen 5ee3c4f98a lecture 10: fix typo in definition of map 2021-03-02 10:56:59 +02:00
Joel Kaasinen f0a79488a6 Set 11b Ex 6: fix type signature of hIsEOF 2021-02-18 12:13:37 +02:00
Joel Kaasinen 0b727a7872 Set 11b: try to avoid delayed read on closed handle in tests 2021-02-17 09:43:10 +02:00
Joel Kaasinen 2cc80d8fe4 Set 13a, Set 13b: depend on right version of the State monad
We use Control.Monad.Trans.State from the transformers package, not
Control.Monad.State from the mtl package.

fixes #23
2021-02-16 10:08:17 +02:00
Joel Kaasinen ee0c79fafc lecture 10: fix quiz
fixes #22
2021-02-12 11:12:10 +02:00
Joel Kaasinen 4526a3d052 Set 7 Ex 2: less misleading test case 2021-02-12 11:11:48 +02:00
Joel Kaasinen ce1298f5ea fix typos in lectures 9 & 10 2021-02-11 16:43:14 +02:00
Joel Kaasinen 92d48cee88 Set 9b Ex 6: fix typo 2021-02-10 15:05:05 +02:00
Joel Kaasinen 9894157dd3 Set 11a: allow more imports 2021-02-09 10:47:56 +02:00
Joel Kaasinen f654847c2a Set 11a: fix syntax error in test 2021-02-09 10:46:36 +02:00
Joel Kaasinen 8c4527aa5a Set11a: fix alowed imports 2021-02-09 10:34:06 +02:00