Closed mdorman closed 7 years ago
Data.Monoid
is a base module, so I'm not sure how that could be. How are you building this?
It's a base
module, but <>
isn't (and hasn't been) re-exported by Prelude
.
How are you building? The project shell.nix
should set you up with GHC 8.0, wherein Prelude
should export it. If that's not happening, there are two bugs!
Sorry for my delay in responding, $WORK has been sucking up all of my available time.
Although I do have a few tweaks in my build environment, you can easily reproduce the failure for yourself by just updating the nixpkgs
submodule to the current unstable.
And while <>
was in base
, it was never exported by Prelude
, and the files this modifies do not include Data.Monoid
directly---so they were pulling in <>
indirectly via something that stopped re-exporting it.
Looks like the move to stackage-8.0 brought in a version that no longer exported mappend by default.