but the last command complained:
ghc: could not execute: dist/build/marxup/marxup
After fixing the path to marxup I got lots of import errors:
patrikj@dela:~/src/ext/MarXup/examples$ ghc --make LaTeX
[1 of 1] Compiling Main ( LaTeX.hs, LaTeX.o )
LaTeX.hs:3:1: error:
Could not find module ‘MarXup’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
3 | import MarXup
| ^^^^^^^^^^^^^
...
LaTeX.hs:22:1: error:
Could not find module ‘Data.GraphViz.Attributes.Complete’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
22 | import Data.GraphViz.Attributes.Complete
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
and even after adding a small cabal file with all(?) the dependencies I got a type error - probably due to the wrong version of one or more of the dependencies.
I tried to follow the README instructions:
but the last command complained: ghc: could not execute: dist/build/marxup/marxup After fixing the path to marxup I got lots of import errors:
and even after adding a small cabal file with all(?) the dependencies I got a type error - probably due to the wrong version of one or more of the dependencies.
A minimal working example would be great!
For completeness, here is the cabal file
and the type error where I gave up