On Nov 21, 2008, at 12:03 AM, samppi wrote:

> Is it possible to create a MapEntry from scratch?

user=> (def a (clojure.lang.MapEntry. 3 4))
#'user/a
user=> (key a)
3
user=> (val a)
4
user=>

You can also make it a little shorter by importing  
clojure.lang.MapEntry .

--Steve


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