Closed Donaim closed 5 years ago
Update: different error with GHC-8.4.3
[12 of 16] Compiling Web.VKHS.API.Types ( src/Web/VKHS/API/Types.hs, .stack-work/dist/x86_64-linux/Cabal-2.2.0.1/build/Web/VKHS/API/Types.o )
/tmp/stack160016/VKHS-1.9.2/src/Web/VKHS/API/Types.hs:206:10: error:
• Could not deduce (Semigroup (Sized a))
arising from the superclasses of an instance declaration
from the context: Monoid a
bound by the instance declaration
at src/Web/VKHS/API/Types.hs:206:10-37
• In the instance declaration for ‘Monoid (Sized a)’
|
206 | instance Monoid a => Monoid (Sized a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Update: Sucessfully compiles with GHC-8.2.2 Please add info about GHC version
Hi, thank you for the report. I plan to look into it this week. Thanks.
I added the Semigroup instance required by GHC-8.4.4 and make it the default. Also README now contains instructions on how to check GHC version which is known to work. I am closing the issue now, please re-open if you need more help.
Hi, I am using VKHS in my stack project and my build fails at compile step:
$ stack build
My stack config (package.yaml) file: