Encountered following error when building library despite "- scientific" is added to .cabal and package.yaml file under the executable section. Perhaps the visibility of the scientific packaged was not set to public?
src\FullState.hs:4:1: error:
Could not load module Data.Scientific' It is a member of the hidden packagescientific-0.3.7.0'.
Perhaps you need to add scientific' to the build-depends in your .cabal file. Use -v (or:set -v` in ghci) to see a list of the files searched for.
|
4 | import Data.Scientific
| ^^^^^^^^^^^^^^^^^^^^^^
OS: Windows 10 ghc-version: 8.10.4
Encountered following error when building library despite "- scientific" is added to .cabal and package.yaml file under the executable section. Perhaps the visibility of the scientific packaged was not set to public?