Closed vincent-hui closed 5 years ago
What version of GHC are you using? I thinkg ghc 8.6 doesn't work, but earlier versions should work.
I am using 8.0.2
Oh, that's a different issue. I am pretty sure 8.0.2 is too old.
Grenade uses Haskell's dependent types features and these features are still in a state of flux and can change from release to release.
Please try ghc 8.2 or 8.4.
It should still work, but mafia is very strict on warnings, and activates -Wall all the time; it is also hard to maintain warnings free code across multiple versions when using some of the more advanced GHC features which are currently in flux.
mafia should set up a proper sandbox for you, and you should then be able to use normal cabal commands to get things compiling.
Running it as mafia build -w
will pass the build even if there are
warnings.
On Wed, 6 Feb 2019 at 12:05 pm, Huw Campbell notifications@github.com wrote:
It should still work, but mafia is very strict on warnings, and activates -Wall all the time; it is also hard to maintain warnings free code across multiple versions when using some of the more advanced GHC features which are currently in flux.
mafia should set up a proper sandbox for you, and you should then be able to use normal cabal commands to get things compiling.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HuwCampbell/grenade/issues/82#issuecomment-460866137, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKbuSFq-mz-Ev8ljZAKlXyhTr8_lOqXks5vKipzgaJpZM4ahcdT .
Thank you.
Yes I can build grenade with mafia build -w
.
I cloned the latest code on master branch and ran
./mafia build
to build grenade When Preprocessing test suite, I got the following error message.