u/ruby_object

▲ 11 r/haskell

can compile the project with cabal build,

https://github.com/bigos/cabal-experiments/blob/321c37ffa33b1b25e883de39ddc944c5314c5c7c/graphviz-simple/app/Main.hs#L1

but when I load the file in Emacs and use the menu option Haskell/Load tidy core I get an error like this and 5 more that make no sense. What is the meaning of:

Use -v (or `:set -v` in ghci) to see a list of the files searched for.

?

How can I fix the error? It seems that a fix for the problem will provide more help with modules.

/home/jacek/Programming/Haskell/cabal-experiments/graphviz-simple/app/Main.hs:7:1: error:
    Could not find module ‘Data.GraphViz.Attributes’
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
7 | import Data.GraphViz.Attributes (color, filled, shape, style, textLabel)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
u/ruby_object — 8 days ago