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

David Roundy droundy at darcs.net
Fri Aug 4 06:59:35 EDT 2006

On Sat, Jul 29, 2006 at 05:35:30PM -0700, Andrew Pimlott wrote:
> On Sat, Jul 29, 2006 at 02:59:06AM +0200, Udo Stenzel wrote:
> > Andrew Pimlott wrote:
> > > Second, "foo" is just as good a directory
> > > as "foo/" to the system
> > 
> > ...unless you have both (think Reiser4) or you want to create the file
> > (I think, but I'm not sure).  However, what's the point in being
> > ambiguous when we can be explicit?  Sometimes there is a difference,
> > libraries and tools shouldn't gloss over that without consideration.
> As I said, it's one of those line-drawing exercises.  But your points
> are well taken, and maybe the trailing delimiter should be part of the
> model.  (My criterion has been whether any filesystem operations require
> the trailing delimiter.  It sounds like with reiser4fs they might.)

Actually, I just read in LWN that that part of reiser4 has been dropped.
On the other hand, it was only dropped after considerable debate, and
people using an older version of reiser4 still have the strange
file-as-directory semantics.
David Roundy

More information about the Haskell-Cafe mailing list