readFileF :: F String (String, IOError ⊕ String)
readFileF
accepts a file name as input, reads the file, and outputs the contents.
Right content
if the
read was successful, or Left err
if an error occurred.
Reading directories: readDirF.
Writing files: writeFileF.
Performing other Haskell 1.2 IO operations: haskellIOF et al.