Barbier de Reuille Pierre <[EMAIL PROTECTED]> writes: (snip) > And how can you, in Haskell, detect symbolic links ?
I use System.Posix.Files. getSymbolicLinkStatus is like lstat(2) under Unix. It returns a value to which you can apply the isSymbolicLink predicate. Of course, you can't be sure the file won't change in between you checking and you acting on that result. -- Mark _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
