I've been looking for an answer for my problem on this group in vain. Found
something that resolves part of the problem. I want to make a struct map
like thi s
(def events-for-mashup
(let [title "Events mashup" event-data (vector create-map-of-events)]
(struct event-map title event-data)))
where create-map-of-events is a function that returns this
({:event-name "Milan Petrovic Quartet live @ Akademija 28", :performers
nil, :start-time "2012-04-07 22:00:00", :end-time nil} ) it is also a
struct map of event data.
However when I run it in the repl all I get is this
{:title "Events mashup", :event-data [#<datamodel$create_map_of_events
datamodel$create_map_of_events@13598c3>]}, it doesn't add return data from
create-map-of-events.
What I'm doing wrong?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en