ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: appendFile
Type: FilePath -> String -> IO ()
Description:
Related: readFile, writeFile

Example 1
File: /tmp/foo.txt : 

AAA
Program source: 

main = appendFile "/tmp/foo.txt" aaa

aaa  = "BBB" ++ "CCC"
File: /tmp/foo.txt : 

AAABBBCCC