Hi, This is my first Clojure how-to question. I tried to find an answer on the Wiki and in the list archives, but to no avail.
How do I build up a map one association at a time? Clearly (map ...) won't do that, 'cause the output has as many elements as the input. I looked at (reduce ...) but can't see how to make that work. The only piece of the puzzle I can see being involved is (assoc ...). Can I get some hints? Do I need to be more specific about where the pairs I'll be adding come from? Is it sufficient to say that the input is a sequence, each element of which will yield another pair to add to the complete map I want to return? Thanks. Randall Schulz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
