I'm trying to implement an interface that has properties but can't quite
seem to get it to work and I also have not found any relevant examples via
Google (yet). I'm sure I'm doing something completely wrong here but have
no idea how to fix it.

(System.Reflection.Assembly/LoadWithPartialName "System.Web")

(defn foo-handler []
(reify System.Web.IHttpHandler
(IsReusable [] false)
(ProcessRequest [context] ())))

IsReusable is a property and I don't know how to tell reify that it is not
a traditional function.

CompilerException clojure.lang.CljCompiler.Ast.ParseException: Must supply
at least one argument for 'this' in: IsReusable

Okay, I supply 'this' for IsReusable

CompilerException clojure.lang.CljCompiler.Ast.ParseException: Can't define
method not in interfaces: IsReusable

-- 
-- 
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/groups/opt_out.

Reply via email to