View Problem

Append to a file

ExpandDiskEdit
fsharp
let stream = new StreamWriter("test.txt", true)
stream.WriteLine("This line appended to file!")
ExpandDiskEdit
clojure
(with-out-append-writer "output.txt" (println "This is appended to the file"))

Submit a new solution for fsharp or clojure
There are 15 other solutions in additional languages (cpp, csharp, erlang, fantom ...)