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.
Also, "x/." is not equivalent to "x": rmdir can be used with "x"
but not with "x/.".
--
__("< Marcin Kowalczyk
\__/ [EMAIL PROTECTED]
^^ http://qrnik.knm.org.pl/~qrczak/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe