Re: getWorkingDirectory/changeWorkingDirectory

2013-12-04 Thread Ben Franksen
Hi Everyone On Wednesday, December 04, 2013 09:19:48 Brandon Allbery wrote: > The functionality is similar but different, insofar as Windows still > has legacy drive paths and the current directory is maintained > separately for each one; I would expect this to be exposed in a > Windows version.

Re: getWorkingDirectory/changeWorkingDirectory

2013-12-04 Thread Brandon Allbery
On Wed, Dec 4, 2013 at 8:38 AM, Benjamin Franksen < benjamin.frank...@helmholtz-berlin.de> wrote: > Module System.Posix.Directory of the unix package defines > > getWorkingDirectory :: IO FilePath > changeWorkingDirectory :: FilePath -> IO () > > I believe the functionality is quite portable a

Re: getWorkingDirectory/changeWorkingDirectory

2013-12-04 Thread Christopher Done
How does it differ to getCurrentDirectory/setCurrentDirectory in System.Directory? On 4 December 2013 14:38, Benjamin Franksen < benjamin.frank...@helmholtz-berlin.de> wrote: > Module System.Posix.Directory of the unix package defines > > getWorkingDirectory :: IO FilePath > changeWorkingDir

getWorkingDirectory/changeWorkingDirectory

2013-12-04 Thread Benjamin Franksen
Module System.Posix.Directory of the unix package defines getWorkingDirectory :: IO FilePath changeWorkingDirectory :: FilePath -> IO () I believe the functionality is quite portable and not limited to unix-like systems. I know that e.g. Windows has chdir and getcwd. Module Filesystem of t