agrafix / agrafix/highjson

highjson-0.4.0.0 build failure with GHC 8.4

Abierto
#2 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Haskell
Estrellas
11
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.