Re: ClassCastException clojure.lang.Var$Unbound Help

2012-04-30 Thread Travis Smith
Thank you for your responses. This was failing for me in the Noir server, so I assumed the same error meant the same thing in the REPL. Something was different though, changing it to (defn get-id ...) and a couple other minor tweaks and it's working. On Monday, April 30, 2012 9:31:17 PM UTC-4,

ClassCastException clojure.lang.Var$Unbound Help

2012-04-30 Thread Travis Smith
What does 'java.lang.ClassCastException: clojure.lang.Var$Unbound cannot be cast to clojure.lang.IDeref' mean. I'm getting this a lot and I want to understand it better, make it easier for me to avoid this. Most of the time I just end up adjusting my def/defn's around until it works. This is har