> There are probably ways of creating types on protocols, but I haven't > tried that yet.
Sorry, what I meant to say was... > There are probably ways of creating deftypes on protocols, but I haven't > tried that yet. On Wed, Sep 1, 2010 at 8:35 AM, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > On 1 Sep., 07:33, Adrian Cuthbertson <adrian.cuthbert...@gmail.com> > wrote: > >> There are probably ways of creating types on protocols, but I haven't >> tried that yet. > > Clojure is a dynamically typed language. I don't think that putting > types on protocols is very interesting. Type hints should be a low- > level construct put into low-level functions when perfomance needs > dictate it. Otherwise type hints should be omitted. Clojure gives the > developer every freedom he likes. Trying to force types on the > protocol is the wrong way to go in Clojure, IMHO. > > Sincerely > Meikel > > -- > 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 -- 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