Can I use haskell-chart in win10 that I got the following error?
I had installed the package Chart with "cabal install Chart".
PS C:\Users\chang\Documents\ghciplot> ghci R.hs
GHCi, version 8.10.2: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( R.hs, interpreted )
R.hs:1:1: error:
Could not find module ‘Graphics.Rendering.Chart.Easy’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
1 | import Graphics.Rendering.Chart.Easy
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
R.hs:2:1: error:
Could not find module ‘Graphics.Rendering.Chart.Backend.Cairo’
Use -v (or :set -v in ghci) to see a list of the files searched for.
|
2 | import Graphics.Rendering.Chart.Backend.Cairo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded.
Can I use haskell-chart in win10 that I got the following error?
I had installed the package Chart with "cabal install Chart".
PS C:\Users\chang\Documents\ghciplot> ghci R.hs
GHCi, version 8.10.2: https://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( R.hs, interpreted )
R.hs:1:1: error:
Could not find module ‘Graphics.Rendering.Chart.Easy’
Use -v (or
:set -vin ghci) to see a list of the files searched for.|
1 | import Graphics.Rendering.Chart.Easy
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
R.hs:2:1: error:
Could not find module ‘Graphics.Rendering.Chart.Backend.Cairo’
Use -v (or
:set -vin ghci) to see a list of the files searched for.|
2 | import Graphics.Rendering.Chart.Backend.Cairo
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded.