On Tue, Oct 20, 2009 at 8:51 PM, nchubrich <nicholas.chubr...@gmail.com> wrote:
>
> I'm trying to develop a library for structs (hopefully will be
> generally useful), with an API parallel to the struct API.  One of the
> capabilities I would like to have is \typed \structs, i.e., if you
> attempt to assoc something of the wrong type to a field, it throws an
> error.  (I can't find anything like this in Clojure now; type
> annotations would not be appropriate, right?).  Any suggestions on
> syntax/functionality?

Before investing too heavily in your own solution, you may want
to be aware of some ideas Rich is already working on:

        http://www.assembla.com/wiki/show/clojure/Datatypes

        http://paste.lisp.org/display/88999

--Chouser

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