6 lines
139 B
Haskell
6 lines
139 B
Haskell
|
-- test System.Posix.fileExist
|
||
|
import System.Posix
|
||
|
main = do
|
||
|
fileExist "fileexist01.hs" >>= print
|
||
|
fileExist "does not exist" >>= print
|