
17 Apr
2008
17 Apr
'08
10:51 a.m.
On Thu, Apr 17, 2008 at 10:38 AM, Bertram Felgenhauer
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).
Ah, I was looking at GHC 6.8.2 sources, but I may have been running 6.6.1. PEBKAC, sorry for the noise. Graham