English
Appearance
(-> text-t file-t)
Open file for writing. Takes a file path, returns a file handle. Creates the file if it doesn't exist, overwrites if it does.
(let ((file (open-output-file "output.txt"))) (file-writeln "hello" file) (file-close file))