GHC 7.8 release?

Herbert Valerio Riedel hvr at gnu.org
Wed Feb 13 10:03:59 CET 2013


wren ng thornton <wren at freegeek.org> writes:

[...]

> But again, this depends on how feasible it would be to actually split
> the packages apart. Is it feasible?

Some time last year, I tried to extract the module import
inter-dependencies in the base package (with the help of GHC's
-ddump-minimal-imports), and came up with the following relations:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: all-deps.lst
Type: application/octet-stream
Size: 36137 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20130213/6ab02742/attachment-0001.obj>
-------------- next part --------------

The main problem I see are the cyclic dependencies between groups of
modules; e.g. consider the import-deps between the Prelude module and
the GHC.* modules:

GHC.ConsoleHandler : Prelude
GHC.Constants : Prelude
GHC.Environment : Prelude
GHC.Event : Prelude
GHC.Exts : Prelude
GHC.Handle : Prelude
GHC.IOBase : Prelude
GHC.PArr : Prelude
GHC.Stack : Prelude
GHC.Stats : Prelude
Prelude : GHC.Base
Prelude : GHC.Enum
Prelude : GHC.Err
Prelude : GHC.Float
Prelude : GHC.Num
Prelude : GHC.Real
Prelude : GHC.Show

Moreover, the GHC.* modules often also import other standard-library
modules such as Data.* for the types and helpers. Also, cyclic
dependencies between CABAL packages aren't supported afaik... 


cheers,
  hvr


More information about the Glasgow-haskell-users mailing list