basvandijk / scientific

Arbitrary-precision floating-point numbers represented using scientific notation
BSD 3-Clause "New" or "Revised" License
73 stars 40 forks source link

package identified as hidden #79

Closed w41g87 closed 3 years ago

w41g87 commented 3 years ago

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?

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 | ^^^^^^^^^^^^^^^^^^^^^^