writeFile package:basic-prelude

Write Text to a file. The file is truncated to zero length before writing begins.