agrafix / agrafix/highjson

highjson-0.4.0.0 build failure with GHC 8.4

Ouverte
#2 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Haskell
Étoiles
11
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Add semigroup instances
See also: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.4#SemigroupMonoidsuperclasses

```
[2 of 2] Compiling Data.HighJson ( src/Data/HighJson.hs, .stack-work/dist/x86_64-osx/Cabal-2.2.0.1/build/Data/HighJson.o )

/Users/dan/scratch/highjson-0.4.0.0/src/Data/HighJson.hs:49:10: error:
• Could not deduce (Semigroup (a :& b))
arising from the superclasses of an instance declaration
from the context: (Monoid a, Monoid b)
bound by the instance declaration at src/Data/HighJson.hs:49:10-48
• In the instance declaration for ‘Monoid (a :& b)’
|
49 | instance (Monoid a, Monoid b) => Monoid (a :& b) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

I was able to reproduce this locally like so:

```bash
stack unpack highjson-0.4.0.0 && cd highjson-0.4.0.0
echo 'resolver: nightly-2018-05-10' > stack.yaml
stack build --test --bench --no-run-benchmarks
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.