openTempFile only defined on GHC

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Apr 2 08:20:03 EDT 2007


Simon Marlow <simonmarhaskell at gmail.com> wrote:

> Isn't it just a bug that these functions are not implemented by other
> compilers? 

Yes and no.  Of course we could implement them.  But I for one wasn't
even aware that they existed in the API.  I don't know when they were
added, or by whom, and I may not even be sure what they are supposed to
do.  For instance, you mention not opening a file if it already exists,
but the Haddock does not say anything about that.

Regards,
    Malcolm


More information about the Libraries mailing list