Skip to content
Snippets Groups Projects
Herbert Valerio Riedel's avatar
Herbert Valerio Riedel authored
in favour of the real `class Semigroup` provided by the canonical
`semigroups` package for GHC < 8.0

This way we can properly provide `Semigroup` instances as well a
`NonEmpty` lists in Cabal's public API in a uniform way for older GHCs
before GHC 8.0/base-4.9

NB: This incurs a dependency on `semigroups` *only* for GHC versions
    prior to GHC 8.0; similar to the pre-existing conditional
    dependency on the `fail` package
d23ffcf4
History
Name Last commit Last update