Closed shlok closed 2 years ago
I was unable to successfully run stack test on my machine (Debian 10, Stack version 2.5.1.1). There were two reasons:
stack test
1.
Adding vector fixes the error
vector
Chart-tests> ../chart/Numeric/Histogram.hs:10:1: error: Chart-tests> Could not find module ‘Data.Vector’
2.
Adding QuickCheck fixes the error
QuickCheck
Chart-tests> :74:3: error: Chart-tests> Variable not in scope: Chart-tests> polyQuickCheck
This seems to be exactly the issue mentioned at https://hackage.haskell.org/package/cabal-doctest-1.0.8 (search for the text "Variable not in scope" on that web page).
I was unable to successfully run
stack test
on my machine (Debian 10, Stack version 2.5.1.1). There were two reasons:1.
Adding
vector
fixes the errorChart-tests> ../chart/Numeric/Histogram.hs:10:1: error: Chart-tests> Could not find module ‘Data.Vector’
2.
Adding
QuickCheck
fixes the errorChart-tests>:74:3: error:
Chart-tests> Variable not in scope:
Chart-tests> polyQuickCheck
This seems to be exactly the issue mentioned at https://hackage.haskell.org/package/cabal-doctest-1.0.8 (search for the text "Variable not in scope" on that web page).