Is it possible to create a MapEntry from scratch? The reason why I'm
asking is because I want to mess with sequences of two-sized vectors,
and it would be really cool if I could use the key and val functions
on them rather than (get % 0) and (get % 1):

  (map #(str "Key:" (key %) "Value:" (val %)) [(map-entry :a 3) (map-
entry :b 2) (map-entry :a 1) (map-entry :c 0)])

Just wondering. (And if not, is there any good reason why they should
only be available from sequences of maps? :))


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

Reply via email to