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

Claus Reinke claus.reinke at
Mon Sep 3 10:52:43 EDT 2007

>    -- A
>    module Main where
>    import Data.Time
>    main = print =<< getCurrentTime
>    -- B
>    module Main where
>    import Data
>    main = print =<< Time.getCurrentTime

that last line should be

>    main = print =<< getCurrentTime

i probably thought for a moment that i was exporting a module, rather
than its contents. was that the source of confusion?

so why did the experiment reported in

work, when Y.hs imports Data.Time, but the package P only
exposes Data? is Y importing time's Data.Time directly, even
though P doesn't expose it?


More information about the Libraries mailing list