Improve the reporting of module cycles, to give a nice message like this
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 13 Jun 2011 21:35:23 +0000 (22:35 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 13 Jun 2011 21:35:23 +0000 (22:35 +0100)
commit735519b465ba75a5d254848fb7f100bdaea89aa9
treee7faba171aa1c0fe22216546294acb5e18a2b659
parentc1c2c25355bc462e521b2c5fb41ac79307da22ff
Improve the reporting of module cycles, to give a nice message like this

  Module imports form a cycle:
    module `Foo4' imports `Foo'
            which imports `Foo2'
            which imports `Foo3'
            which imports `Foo4'

as requested by Bryan Richter
compiler/main/GhcMake.hs