Graham Fawcett wrote:
> I notice in the source for GHC.Handle that certain functions (e.g.
> fdToHandle_stat) are in the export list, but are not actually exported
> (at least, it seems you cannot import them). What mechanism causes
> these functions to be "hidden", and are they still accessible in some
> way?

which ghc version are you using, and which sources are you looking at?

    import GHC.Handle (fdToHandle_stat)

works fine in ghc 6.8.2. In the base library shipped with ghc 6.6.1,
it wasn't exported (or even defined).

HTH,

Bertram
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to