[Haskell-cafe] Re: File path programme

Sven Panne Sven.Panne at aedion.de
Mon Jan 31 13:21:28 EST 2005


Peter Simons wrote:
> [...]
> There also is a function which changes a path specification
> into its canonic form, meaning that all redundant segments
> are stripped. So although two paths which designate the same
> target may not be equal, they can be tested for equivalence.

Hmmm, I'm not really sure what "equivalence" for file paths should
mean in the presence of hard/symbolic links, (NFS-)mounted file
systems, etc.  Haskell's stateless (==) function doesn't really
make sense IMHO, but perhaps I've missed something in this epic
discussion... :-]

Cheers,
    S.


More information about the Haskell-Cafe mailing list