Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Test/Framework/Runners/Console/Run.hs: Ambiguous occurrence `<>' #17

ghost opened this Issue Feb 11, 2012 · 4 comments


None yet
1 participant

ghost commented Feb 11, 2012

I'm trying to compile test-framework, but am running into multiple instances of the following error (all in Run.hs):

    Ambiguous occurrence `<>'
    It could refer to either `Text.PrettyPrint.ANSI.Leijen.<>',
                             imported from `Text.PrettyPrint.ANSI.Leijen' at Test/Framework/Runners/Console/Run.hs:19:1-35
                          or `Data.Monoid.<>',
                             imported from `Data.Monoid' at Test/Framework/Runners/Console/Run.hs:21:1-18

I'm running GHC 7.4.1 and Text.PrettyPrint.ANSI.Leijen is from ansi-wl-pprint 0.6.4.


batterseapower commented Mar 14, 2012

This was fixed in test-framework 0.5 which has been out for some time. Can you use that version?


ghost commented Mar 15, 2012

Thank you. That works. Unfortunately there are many packages depending on either test-framework <0.5 or monad-control <0.3 (which depends on test-framework <0.5).

I would like to have seen a, which solves just the issue with GHC 7.4.1, but I will just "backport" the patch for packaging now.

@ghost ghost closed this Mar 15, 2012


batterseapower commented Mar 15, 2012

OK, I've released v0.4.2.3 as you asked.



ghost commented Mar 15, 2012

Thank you.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment