At 2001-11-03 02:56, [EMAIL PROTECTED] wrote: >I need to create a function that checks if a file exists. My intention is >to do something like: > > teste :: String -> Bool (Beeing the String the FilePath)
This cannot be done safely. Consider making a function with type
test :: String -> IO Bool
...
--
Ashley Yakeley, Seattle WA
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
