Udo Stenzel wrote:

>
> The same thoughts apply to filenames.  Make them [Word8] and convert
> explicitly.  By the way, I think a path should be a list of names (that
> is of type [[Word8]]) and the library would be concerned with putting in
> the right path separator.  Add functions to read and show pathnames in
> the local conventions and we'll never need to worry about path
> separators again.
>

I even plead for an abstract data type FilePath which supports operations
like 'enter a directory', 'go one level higher' and so on.


_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to