tonymorris/fp-course

Cabal test error: mkName not in scope

bderrett opened this issue · 2 comments

Hi,

Thanks for putting this course together. When I follow the instructions to run the tests, cabal test reports the error "Not in scope: `mkName'" many times. The final part of the output is given below.

<interactive>:3934:19: Not in scope: `mkName'
### Failure in src/Course/List.hs:290: expression `let types = x :: Int in reverse (x :. Nil) == x :. Nil'

<interactive>:3959:19: Not in scope: `mkName'
### Failure in src/Course/List.hs:317: expression `let types = x :: List Int in notReverse x ++ notReverse y == notReverse (y ++ x)'

<interactive>:4014:19: Not in scope: `mkName'
### Failure in src/Course/List.hs:319: expression `let types = x :: Int in notReverse (x :. Nil) == x :. Nil'

<interactive>:4039:19: Not in scope: `mkName'
Examples: 506  Tried: 277  Errors: 0  Failures: 192
Test suite doctests: FAIL
Test suite logged to: dist/test/course-0.1.1-doctests.log
0 of 1 test suites (0 of 1 test cases) passed.

I'm using a fresh install of the Haskell Platform (GHC 7.6.3) on Ubuntu 13.10. Am I missing a dependency?

Thanks,
Ben

Hi there,
You probably want to be using https://github.com/NICTA/course

This is a fork which provides all the answers.

This issue has been reopened in the appropriate repository.

system-f/fp-course#77