Thanks, Stuarts!
On Nov 16, 10:06 am, Stuart Sierra <[EMAIL PROTECTED]>
wrote:
> Yes, spit is in clojure.contrib.duck-streams.
>
> Java doesn't support "~", but if you want the home directory you can
> get it with
> (System/getProperty "user.home")
> -Stuart
>
> On Nov 16, 9:18 am, Stuart Hallowa
Yes, spit is in clojure.contrib.duck-streams.
Java doesn't support "~", but if you want the home directory you can
get it with
(System/getProperty "user.home")
-Stuart
On Nov 16, 9:18 am, Stuart Halloway <[EMAIL PROTECTED]> wrote:
> Hi Ethan
>
> spit is in Clojure-contrib. I wouldn't expect Cloj
Hi Ethan
spit is in Clojure-contrib. I wouldn't expect Clojure to support OS-
specific idioms like ~, because Java doesn't.
Stuart
> Has the inverse of slurp been added to the core libraries yet? Like
> this:
>
> (spit "Some text" "/foo.txt")
>
> to make a file called 'foo.txt' containing "