Open kjcole opened 5 months ago
And copying from the git repo didn't work either.
$ mkdir ~/.cabal/lib
$ cp -rv ~/gits/3D/ImplicitCAD/Graphics ~/.cabal/lib/
...
$ ghci
GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help
Prelude> import Graphics.Implicit
<no location info>: error:
Could not find module ‘Graphics.Implicit’
It is not a module in the current program, or in any known package.
Prelude> ^D
Leaving GHCi.
$ ghci -Llib ~/.cabal/lib/
GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help
target ‘~/.cabal/lib/’ is not a module name or a source file
Prelude> ^D
Leaving GHCi.
$ ghci -Ldir ~/.cabal/lib/
GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help
target ‘~/.cabal/lib/’ is not a module name or a source file
Prelude> ^D
Leaving GHCi.
$ ghci -Ldir ~/.cabal/lib
GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help
target ‘~/.cabal/lib’ is not a module name or a source file
Prelude> ^D
Leaving GHCi.
Maybe more documentation needed?
A slightly edited log:
And within that directory we have
/lib/Graphics/
which contains:I attempted the
import
while cd'd to~/.cabal/
and then to each of the subdirectories, all with the same result.