Hello Simon, Friday, November 17, 2006, 12:30:52 PM, you wrote:
> Well, c_open isn't a visible API: the module System.Posix.Internals is hidden > in > the Haddock documentation. It isn't hidden in the package spec, but that's > because the unix package requires it. it's even better! strange function cross packages boundary in order to make these two packages be linked in some strange and undocumented way! while this particular functions seems to not bother anyone except me, i still think that this is bad programming style > Maybe in your reorganisation of the base package you could clean this up. yes, i have some thoughts on this topic > Bottom line: it's not intended for user consumption, so I don't buy your > argument. In fact I'd rather use the proper Win32 API instead of CRT > functions > in the IO library. my experience of cross-platform development says that for simple things using the portable API is very convenient. of course, for complex things you've done in Handle implementation, some platform-dependent code still necessary -- Best regards, Bulat mailto:[EMAIL PROTECTED] _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc