On 16/10/12 13:25, Zhitong He wrote:
another way to solve this,  from
http://users.utu.fi/machra/posts/2011-08-24-2-reddit-clojure.html

(ns myapp.app
    (:require [clojure.java.io :as io]))

  (defn copy [uri file]
          (with-open [in (io/input-stream uri)
                      out (io/output-stream file)]
            (io/copy in out)))

this looks nice...also, no dependencies - you can run this on your android!

Jim

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to