System.IO module provides hPutStr function to write a string to a file. You may get following errors, while working with hPutStr.a. isFullError if the device is full.b. &nbs… Read More
It is similar to hPutStr, but adds a newline character. You may get following errors, while working with hPutStr.a. isFullError if the device is full.b. isPermissionE… Read More
Following table summarizes different functions provided by Haskell to work with files. Function Description openFile Read contents of a file readFile Get file data as a string… Read More