On 2008 Aug 28, at 0:46, Nicolas Frisby wrote:
I think I've exhausted my options without catching exceptions.

If I have an invalid symbolic link, how can I identify that it exists?


getSymbolicLinkStatus vs. getFileStatus? The former will return if the link exists, the latter if its target does. (Where not returning means throwing an exception in IO.)

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


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

Reply via email to