I'm trying to write a test using quickcheck for a simple lexer i've written. However, I seem to be falling foul of some sort of link error
I've building using cabal-dev
my .cabal file is building a library "mylib" The library section has under its exposed modules section Lexical.Token and under the test-suite I have "mylib" listed under build_depends, and I also have Lexical.token listed under other modules.
What am I missing? The error I get out of ghc (7.4.1) is as follows:
Couldn't match expected type `Token'
with actual type `mylib-0.0.0.1:Lexical.Token.Token'
Expected type: [Token]
Actual type: [mylib-0.0.0.1:Lexical.Token.Token]