On Nov 21, 12:07 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> 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 .
>

I make no promises about the continued existence of MapEntry. Please
don't use it.

Rich

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