
19 Feb
2006
19 Feb
'06
4:03 p.m.
Barbier de Reuille Pierre
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