timbod7 / haskell-chart

A 2D charting library for haskell
429 stars 85 forks source link

Fix errors during `stack test`. #229

Closed shlok closed 2 years ago

shlok commented 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:

1.

Adding vector fixes the error

Chart-tests> ../chart/Numeric/Histogram.hs:10:1: error: Chart-tests> Could not find module ‘Data.Vector’

2.

Adding QuickCheck fixes the error

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).