Hi all,

I started learning Clojure very recently by rewriting my old college Java 
project to Clojure.
Having bunch of records I wanted to automate record creation with macros 
and to finally learn Clojure macros, but I got stuck.
Example (Real code will be more complicated but I need to make this 
smallest example work):

*(defmacro some-record*
*  [some-name]*
*  '(defrecord ~some-name [in out]))*

*(some-record Bla)*

I'm getting:

*CompilerException java.lang.RuntimeException: Can't refer to qualified var 
that doesn't exist, compiling:(hw_sim/core.clj:38:1) *

What's going on?

Cheers!
Vuk Mirovic

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