fp-course
fp-course copied to clipboard
Fork of the original Data61 course to be more Stack friendly
$ make test-ghci ``` STACK_YAML="stack.yaml" stack ghci course:test:course-tests Getting project config file from STACK_YAML environment Using main module: 1. Package `course' component course:test:course-tests with main-is file: /Users/xxx/gits/fp-course/test/Spec.hs The following GHC...
Line 319 of List.hs
In my setup: when using `make test-ghci` module reloading (`:r`) doesn't necessarily reload the source files under the `/src` directory. It seems like it only considers the `/test` directory as...
The test suite for Applicative.hs accepts the following code: () (f :. fs) xs = (f xs) ++ (fs xs) () _ _ = Nil and rejects the following code:...
Use of arbitrary is pretty minimal so it shouldn't be that hard.
per @parsonsmatt >The only tricky thing we might want to do is make stack test only run the hspec tests, and not the doctest test suite. Or maybe the doctests...