2010/11/1 tonyl <[email protected]>:
> I was wondering since it uses the dispatch macro and AFAIK
> there is no api fn to create them like hash-maps to create maps,
> vector/vec for vectors, or list for lists.
There are parallels to 'hash-map' and 'sorted-map' in the api:
user=> (hash-set :a :b :c)
#{:a :c :b}
user=> (sorted-set :a :b :c)
#{:a :b :c}
Literal maps are hash-maps.
//raek
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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