Closed smu closed 6 years ago
You seem to have a pretty new version of GHC. Let me update tttool
to support that…
Blocked on https://github.com/alpheccar/HPDF/issues/21 unfortunately.
I saw two issues in HPDF. It works fine after fixing them.
1) in Graphics/PDF/Draw.hs you need to modifiy the code around "(x:xs) <- gets supplyNames" to something like this:
supplyName = do x1 <- gets supplyNames case x1 of (x:xs) -> do modifyStrict $ \s -> s {supplyNames = xs} return x [] -> error "Nothing to draw"
2) The other issue was in Graphics/PDF/Typesetting/Breaking.hs
change foldWithKey to foldrWithKey
Could you then update tttool? I'm running ghc 8.6.3. Thanks much.
Thanks for the HPDF patches. I need to do something about this, but I am not sure how best to proceed in terms of packaging etc.. Probably include a patched copy of HPDF as a git subtree
in the repository…
Installation fails under arch linux.
leads to the same error message.
I have no experience with haskell. any ideas how to solve the problem with
base
? thanks!