Hacker News new | ask | show | jobs
by lispm 2869 days ago
This should be sufficient:

  (with-open-file (*standard-output* "file.txt" :direction :output)
    (print 'a)
    (print 'b))