(spit "Some text" "/foo.txt")
to make a file called 'foo.txt' containing "Some text".
By the way, it appears that Clojure (or Java) doesn't recognize ~, as
in (slurp "~/foo.txt"). True?
spit is in Clojure-contrib. I wouldn't expect Clojure to support OS-
specific idioms like ~, because Java doesn't.
Stuart
> -~----------~----~----~----~------~----~------~--~---
>