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

Neil Mitchell ndmitchell at gmail.com
Tue Jul 18 07:33:14 EDT 2006


> And if someone wants to define a "new" and "better" FilePath type, I
> would prefer something more abstract, such as a list of Path
> components, with functions to serialize it as a String and to parse it
> from a String.

A list of path components is just not enough, I'm afraid. What about
extensions? What about drives? If you want an abstract type it will
probably need to be entirely abstract, rather than with some exposed
structure.

Thanks

Neil


More information about the Haskell-Cafe mailing list