highjson-0.4.0.0 build failure with GHC 8.4
- Vorherrschende Sprache
- Haskell
- Sterne
- 11
- Forks
- 0
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.