Proposal: add exeExtension to System.Info
duncan.coutts at worc.ox.ac.uk
Wed Jul 18 15:43:25 EDT 2007
On Tue, 2007-07-17 at 12:52 -0400, Dimitry Golubovsky wrote:
> 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
> 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?
More information about the Libraries