[Haskell-cafe] Re: ANN: System.FilePath 0.10

Neil Mitchell ndmitchell at gmail.com
Wed Nov 8 16:48:14 EST 2006


Hi Ashley,

> How do I manipulate a Windows file path on a POSIX machine (something
> relating to Samba, for instance)?

import System.FilePath.Windows

This will give you windows FilePath handling regardless of your
operating system.

(in the same way System.FilePath.Posix will give you Linux style
filepaths, and System.FilePath will give you the appropriate type
based on your OS)

Thanks

Neil


More information about the Libraries mailing list