Skip to content

Instantly share code, notes, and snippets.

@tebeka
Created December 27, 2010 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tebeka/756712 to your computer and use it in GitHub Desktop.
Save tebeka/756712 to your computer and use it in GitHub Desktop.
user=> (use '[clojure.java.io :only (reader)])
nil
user=> (spit "/tmp/blah" "blah blah")
nil
user=> (slurp (reader "/tmp/blah"))
"blah blah"
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment