Proposal: Add System.FilePath.Cygwin

Neil Mitchell ndmitchell at gmail.com
Fri Jun 5 04:45:05 EDT 2009


Hi

> And the module should use "/cygdrive/c/foo" instead of "c:/foo".

Cygwin supports both in many programs, and we don't even actually form
our own drive details, we only use what people give us. But yes,
/cygdrive will be recognised and dealt with as the same as c:/

> Sounds ok to me. Will it share code with the .Windows module or be
> duplicated?

Take a look at:
http://hackage.haskell.org/packages/archive/filepath/1.1.0.2/doc/html/src/System-FilePath-Windows.html

It will share code with both the Windows and Posix portions, much the
same as the existing stuff does.

Thanks

Neil


More information about the Libraries mailing list