Thanks. I found a way to accomplish what I needed, but I'll tuck that
patch in my back pocket for later.
Jim
On Mar 11, 5:07 pm, Timothy Pratley wrote:
> They are not currently exposed, but a trivial patch will achieve what
> you want:http://groups.google.com/group/clojure/web/struct.patch
>
--
They are not currently exposed, but a trivial patch will achieve what
you want:
http://groups.google.com/group/clojure/web/struct.patch
user=> (defstruct ts :a :b)
#'user/ts
user=> (struct-keys ts)
(:a :b)
Regards,
Tim.
On Mar 12, 5:23 am, jim wrote:
> Is there a more efficient way of getting
Is there a more efficient way of getting the keys of a struct-map
besides creating an instance and passing it to keys:
>(def ts (create-struct :a :b))
>(keys (struct ts))
(:a :b)
Thanks,
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscr