On Sun, Sep 4, 2011 at 11:37 AM, Timothy Washington <twash...@gmail.com> wrote:
> (ns bkell
>   (:import java.io.FileReader)
>   (:require commands.add)
>   (:require commands.update)
>   (:require commands.get)
>   (:require commands.remove)
>   (:require commands.authenticate)
>   (:require domain)
>   (:require util)
> )

These are requiring namespaces so I would expect you'd have a
namespace commands.remove and it would contain functions...?

> (defn remove [akey & etal]
>   (let [  logged-in-user (commands/logged-in-user)]
>     (if (-> logged-in-user nil?)  ;; we want to see a logged-in-user
>       (util/generate-error-response "User is not authenticated")
>       (eval `(commands/remove ~akey ~@etal))     ;; this is line 61
>     )
>   )
> )

I would expect to see (commands.remove/some-func ..) here... so I'm a
little puzzled when you say it works for invoking functions in other
require'd commands.* namespaces. Can you share a bit more of your
code?
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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