Posix.getFileStatus

Dean Herington heringto at cs.unc.edu
Fri Feb 28 09:11:14 EST 2003


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




More information about the Glasgow-haskell-bugs mailing list