logo       

RE: Uninformative error message from getModificationTime: msg#00085

lang.haskell.glasgow.bugs

Subject: RE: Uninformative error message from getModificationTime


> If I run the program
>
> main = print =<< readFile "god"
>
> and god doesn't exist, I get the following informative error message
>
> Fail: does not exist
> Action: openFile
> Reason: No such file or directory
> File: god
>
> However, if I run the program
>
> import Directory
> main = print =<< getModificationTime "god"
>
> I get the message
>
> Fail: does not exist
> Action: withFileStatus
> Reason: No such file or directory

Fixed, thanks.

Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise