
3 Sep
2007
3 Sep
'07
10:52 a.m.
-- 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 http://www.haskell.org/pipermail/libraries/2007-September/008062.html 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? claus