I am doing basic RPC framework and want to be able to marshal Records. Given 
that I send over the wire some identifier that allows me to get hold of string 
representation of fully qualified name of the record, I want to be able to 
invoke it's constructor.
For the moment I am using hand-written multifunction as a factory method, but 
would like to be able to have macro or generic function that eliminates the 
need for the scaffolding.

In essence I would like to have

(instantiate "some-ns/some-record" {:p1 "aeounth" :p2 123})

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to