edsko / stack2cabal

BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Support building with GHC 8.6.4 #7

Closed adinapoli-mndc closed 5 years ago

adinapoli-mndc commented 5 years ago

This PR allows stack2cabal to be built using GHC 8.6.4 (and the latest Stackage's LTS).

Albeit building this project with stack might not be the top priority, I did find useful to bootstrap the tool by using stack, so I have also added a stack.yaml file.

Last but not least, apparently the representational rules for some types changed in the latest GHC (or maybe the API of containers did, go figure) but I had to change that coerce to something a bit longer. No clue if this will break older GHCs, but I don't think so.

edsko commented 5 years ago

Well now this feels like old times... I'm almost tempted to take the opportunity for some serious PR review :trollface:

adinapoli-mndc commented 5 years ago

How dare you! glares