logo       

Re: Posix.getFileStatus: msg#00079

lang.haskell.glasgow.bugs

Subject: Re: Posix.getFileStatus

George Russell wrote:

> (2) The logical way of spotting whether a file is actually there is the
> queryFile function, documented for example here:
>
> http://haskell.cs.yale.edu/ghc/docs/latest/html/hslibs/files-and-directories.html
> But sadly the queryFile function does not appear to be in the Posix module!
> At least not for
> ghc5.04.2.

Apparently, `queryAccess` and `queryFile` are called `fileAccess` and
`fileExist`.

Dean


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

News | FAQ | advertise