Open
Description
I have a stack project which has the resolver lts-13.14
. When I include llvm-hs-quote
through the stack.yaml
the build throws the following error:
Preprocessing library for llvm-hs-quote-0.1.0.0..
Building library for llvm-hs-quote-0.1.0.0..
[2 of 8] Compiling LLVM.Quote.Parser.Tokens ( src/LLVM/Quote/Parser/Tokens.hs, .stack-work/dist/x86_64-osx/Cabal-2.4.0.1/build/LLVM/Quote/Parser/Tokens.o )
/Users/abhiroopsarkar/Haskell/hailstorm/.stack-work/downloaded/kbUU6haXgO1k/src/LLVM/Quote/Parser/Tokens.hs:483:10: error:
Not in scope: type constructor or class ‘Pretty’
|
483 | instance Pretty Token where
| ^^^^^^
I am not sure why this error came up. I separately cloned the library and tried building it and it works fine. I have tried including the mainland-pretty
package in my package.yaml
file as well (which contains the Pretty typeclass) which I don't think is the problem and this doesn't solve the problem as well.
I am not sure could this possibly be related to some upper bound issue or using some specific version of mainland-pretty
?
Metadata
Metadata
Assignees
Labels
No labels