openTempFile only defined on GHC
bulat.ziganshin at gmail.com
Mon Apr 2 06:48:00 EDT 2007
Monday, April 2, 2007, 2:16:55 PM, you wrote:
> Isn't it just a bug that these functions are not implemented by other compilers?
> There's no fundamental reason, right? The implementation is necessarily
> dependent on the internals of Handle because openFile doesn't currently provide
> a way to open a file and fail if it already exists (the O_EXCL flag).
this means that these functions should be implemented in GHC.*, NHC.*
and Hugs.* and only then System.IO may include interface function that
will call one of them
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Libraries