Re: Building a vector of vector list

2011-06-08 Thread Mushfaque Chowdhury
tems.com/profiles/ thecustomprofile/1.0"}] (apply identity packages))) What I want is just to call each function defined in 'packages'. Basically evaluate the list of HigherOrderFunctions specified in 'packages' If anyone can suggest something even cleaner, that would

Re: Building a vector of vector list

2011-06-08 Thread Mushfaque Chowdhury
Thanks Meikel I'm hoping that the "into" function is not going to make things inefficient but I'll give it a go. I also agree, eval is not what I want, because it does feel wrong. Something tells me that I should be using apply, but I've not yet figured out why/how. Ronnie On Jun 8, 2:07 pm, Me

Building a vector of vector list

2011-06-08 Thread Mushfaque Chowdhury
Hi all I'm trying to build a vector data structure that can be printed using the core prn function. Here's my test case (defn ea-xmi [dname & packages] [:xmi {:version "2.1" :nsuml "http://schema.omg.org/spec/UML/2.1"; :nsxmi "http://schema.omg.org/spec/XMI/2.1"; :c

Re: Example to introspect a class

2011-04-03 Thread Mushfaque Chowdhury
Thank you I'm still learning all the different forms so this is very helpful. On Apr 1, 10:13 pm, Ken Wesson wrote: > On Fri, Apr 1, 2011 at 10:56 AM, Mushfaque Chowdhury > > > > > > > > > > wrote: > > Hi > > > I'm trying to solv

Example to introspect a class

2011-04-01 Thread Mushfaque Chowdhury
Hi I'm trying to solve a introspection problem of the following type (def Region {'fields '((datatype x) (datatype y))}) (def Country {'fields '((int x) (double y {reference `Region}))}) I'd like to introspect the fields from Country and see {reference Region} replaced by (reference ((datatype