System.Directory module provides
exeExtension function, which gives the extension of executable file. On Windows
this function return .exe, on POSIX it returns " ".
Prelude System.Directory> :t exeExtension exeExtension :: String Prelude System.Directory> Prelude System.Directory> exeExtension ""
No comments:
Post a Comment