
Dear GHC developers, Please, how to re-export (qualified) Data.Set, Data.Map ? In ghc-6.2.2, I used only ------------------------------------------- {-# OPTIONS -fno-warn-duplicate-exports #-} module Reexport (module Data.Set, ...) ... import Data.Set ------------------- module Main import Reexport ------------------------------------------ For ghc-6.4, I need qualified import of Data.Set, Data.Map and need to re-export it. I am trying --------------------------------------------------------------------- module Reexport (module Set, f, g) where import qualified Data.Set as Set f :: Bool f = True g :: Set.Set Bool g = Set.singleton f -------------------------- module Main import Reexport main = putStr $ shows v "\n" where v = Set.singleton f -- g --------------------------------------------------------------------- Now, v = g works. And v = Set.singleton f reports Main.hs:3:40: Not in scope: `Set.singleton' I wonder, how the needed thing can be arranged. With kind regards, ----------------- Serge Mechveliani mechvel@botik.ru