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

Stefan Monnier monnier at iro.umontreal.ca
Thu Jul 27 11:43:48 EDT 2006


> Trying to design a consistent naming system, it helps if we all agree
> on what the various parts of a filepath are called, this is my draft
> of that:

> http://www-users.cs.york.ac.uk/~ndm/temp/filepath.png

For what it's worth, the FSF's coding conventions uses "path" only for
lists of directories (typically used for a search, e.g. MANPATH, PATH,
LD_LIBRARY_PATH, load-path, ...), not for file names.  In their convention,
"/foo/bar/baz" is a file name, where "bar" is a file name element IIRC.


        Stefan



More information about the Haskell-Cafe mailing list