
On Tue, 2007-07-17 at 12:52 -0400, Dimitry Golubovsky wrote:
Hi,
While adopting my older program to the newer (GHC 6.6) infrastructure, I came across the issue: OS-dependent functions like exeExtension are missing in the newer version of the FilePath package. I checked with Neil who currently maintains FilePath, and he agreed with me on this idea.
I am proposing to add the following to the System.Info module (which seems to be the best place to collect OS-specific things) - the code was found in Distribution.Compat.FilePath and slightly modified (#if directive) in the same way as the current System.FilePath distinguishes between Posix and Windows interfaces:
Sounds sensible to me. Want to make a library submission? http://www.haskell.org/haskellwiki/Library_submissions Duncan