then define a factory function when you define the record, and use
that, you can easily apply a function to arbitrary arguments without
using eval

On Thu, Feb 3, 2011 at 7:00 PM, Quzanti <quza...@googlemail.com> wrote:
>
>
> On Feb 4, 2:55 am, Kevin Downey <redc...@gmail.com> wrote:
>> I strongly recommend against writing or designing anything that
>> requires dynamically generating defrecords. if you want to dynamically
>> generate classes I suggest getting familiar with the asm library and
>> reading up on classloaders.
>>
>
> Its just the instances I am trying to create dynamically
>
> I need to
>
> (1) Dynamically resolve a classname (the class of the predefined
> record)
>
> (2) Merge it with vectors containing the values
>
> --
> 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



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

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