Thursday 2 June 2016

Haskell: exeExtension: Get the extension of executable file


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
""



Previous                                                 Next                                                 Home

No comments:

Post a Comment