Hi, Am 15.02.2009 um 15:27 schrieb Emeka:
Key only accepts a map entry and not a Map object.Could you explain this further.
When you call seq on a map, you get a sequence of MapEntries. Each map entry contains a key and the corresponding value. You can access the key via the key function (surprise ;) ) and the value via the val function. Also conj'ing a MapEntry onto a map, will add the key/value-mapping to the map. Hope this helps. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature