Hi,

I wrote some code, put it in a file, and now want to load that file.

Here is the code I wrote, sqrs.clj:

   (use '[clojure.contrib.generic.math-functions :only (sqr)])

   (defn square-of-sum [coll]
        "adds up collection of numbers and then squares it"
        (sqr (reduce + coll)))

whenever I try (load-file sqrs.clj) i get a no source file exception.
I have tried placing this file on my desktop, c:\, and clojure
directory, but always get a no source file exception.  Where should I
put it?

thx!

-- 
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

Reply via email to