You seem to be missing the parameter vector

(defn del-temps []  ..)
On Jun 12, 2014 6:14 PM, "Glen Rubin" <rubing...@gmail.com> wrote:

> I wrote a fn to delete a couple files:
>
> (defn del-temps
>   (clojure.java.io/delete-file "C:/temp/fs.png" true)
>   (clojure.java.io/delete-file "C:/temp/fs.txt" true))
>
>
> When I run my program I get the following error:
>
> Exception in thread "main" java.lang.IllegalArgumentException: Parameter
> declaration clojure.java.io/delete-file should be a vector
>
>
> It didn't look like delete-file takes a vector from the documentation?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to