Changeset 10466 for src/Pugs/Prim/FileTest.hs
- Timestamp:
- 06/03/06 08:12:31 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/FileTest.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/FileTest.hs
r3372 r10466 59 59 60 60 fileTestExists :: FilePath -> IO Val 61 fileTestExists f = do 62 b1 <- doesFileExist f 63 b2 <- doesDirectoryExist f 64 return $ valFromBool f (b1 || b2) 61 fileTestExists f = doesExist f >>= return . (valFromBool f) 65 62 66 63 fileTestIsFile :: FilePath -> IO Val
