Hi,

On Sat, Sep 26, 2009 at 3:36 PM, Daniel Werner
<daniel.d.wer...@googlemail.com> wrote:
>
> 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.

adt/match & co aren't what I need right now, but I missed them when
browsing clojure.contrib and they look very useful as type definition
tools. Thank you for the pointer. It is very nice to see how much one
can learn about related concepts when asking a question. I am amazed
at the quality of the Clojure 'platform' (language, libraries,
people).

Since good deeds don't go unpunished, I guess this means I'll keep
asking questions :-)

Thank you again,

-- 
Miron Brezuleanu

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