On 2005-01-31, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote:
> Peter Simons <[EMAIL PROTECTED]> writes:
>
>>   http://cryp.to/pathspec/PathSpec.hs
>
>> There also is a function which changes a path specification
>> into its canonic form, meaning that all redundant segments
>> are stripped.
>
> It's incorrect: canon (read "x/y/.." :: RelPath Posix) gives "x",
> yet on Unix they aren't equivalent when y is a non-local symlink
> or doesn't exist.

True, but most people want x when they construct x/y/.., in makefiles,
install scripts, etc.  It's not "OS thinks is the same", and shouldn't
be marketed as such, but it is useful as "what people generally want to
refer to".

-- 
Aaron Denney
-><-

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to