On Sep 24, 10:14 am, Miron Brezuleanu <mbr...@gmail.com> wrote:
> about). The degree of typing can be varied (i.e. a person is any map
> with a :name key, or any map with only a :name key, or any map with a
> :name key which is nil or string etc.)

You may be interested in Konrad Hinsen's (algebraic) data type support
in clojure.contrib.types. As far as I've discovered from toying with
it, it doesn't seem to cover your "vector of persons" use case, but it
does support matching maps by the keys they contain and the keys'
values, but not their types.
--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to