patch applied (packages/regex-base): Make setupscriptcompileagain after recent Cabal changes

Ian Lynagh igloo at
Mon Sep 3 08:12:57 EDT 2007

On Sun, Sep 02, 2007 at 11:10:04PM +0100, Claus Reinke wrote:
> >>
> >>    -- Data.hs (yes..)
> >>    module Data(module Time) where
> >>    import Data.Time as Time
> >
> >I'm a bit confused; is this Data module necessary? If so, is its name
> >important? Are you proposing a new extension?
> for context: 
> - taking time as a small example, i was looking for a way around
>    this limitation, to reexport time's modules via a different package:
>    - it seems that cabal needs some sources for exported modules
>    - module Data.Time where import Data.Time,
>        then exposing Data.Time, does not work, because of cycle
>    - module Data(module Time) import Data.Time as Time,
>        then exposing Data, does work, as demonstrated

But the above is making a module called Data which exports everything
that Data.Time exports. The Data.Time user isn't importing Data, so I
don't see how that can help. As far as I can see, if this does work then
there is at least one misfeature involved.


More information about the Libraries mailing list