UU-ComputerScience / uu-interleaved

MIT License
1 stars 1 forks source link

0.2.0.1 doesn't build #2

Closed bgamari closed 6 years ago

bgamari commented 6 years ago

The build fails with GHC 8.2 (and I believe all later releases) with,

  src/Control/Applicative/Interleaved.hs:68:13: error:
      Ambiguous occurrence ‘<>’
      It could refer to either ‘Sem.<>’,
                               imported from ‘Data.Semigroup’ at src/Control/Applicative/Interleaved.hs:30:1-28
                            or ‘Data.Monoid.<>’,
                               imported from ‘Data.Monoid’ at src/Control/Applicative/Interleaved.hs:32:1-31
     |
  68 |   mappend = (<>)
     |             ^^^^
bgamari commented 6 years ago

In #1 @doaitse notes that 8.4.1 builds without any trouble. It looks like the problem is just GHC 8.2 where Data.Monoid doesn't reexport (<>) from Data.Semigroup.