Hi,
I'm following the Stack user guide at
https://docs.haskellstack.org/en/stable/GUIDE/. I've successfully followed
the steps up to the "Resolvers" section with a new sample project.
$ stack --version
Version 1.6.3 x86_64 hpack-0.20.0
I've also added "diagrams" to the list of dependencies and successfully
done "stack build" and "stack test" etc.
$ stack list-dependencies
Boolean 0.2.4
Cabal 2.0.1.1
...
diagrams 1.4
diagrams-contrib 1.4.1
diagrams-core 1.4.0.1
diagrams-lib 1.4.2
diagrams-solve 0.1.1
diagrams-svg 1.4.1.1
...
Once I try and import Diagrams.Prelude into the auto-created Lib.hs file
stack claims it can't find Diagrams.Prelude:
/Users/foo/projects/test/src/Lib.hs:4:1: error:
Could not find module ‘Diagrams.Prelude’
Use -v to see a list of the files searched for.
|
4 | import Diagrams.Prelude
| ^^^^^^^^^^^^^^^^^^^^^^^
I can see diagrams 1.4 is in the curated package set that Stack is working
with too. So is there something special about diagrams and how it should be
installed or made known to Stack and Cabal?
Thanks in advance,
Stu
--
You received this message because you are subscribed to the Google Groups
"diagrams-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.