Why do you want to override seq? The only reason that I can think of
is that you are implementing some sort of custom data type. If that is
the case, you should be using deftype instead; defrecord is a protocol-
aware drop in replacement for normal maps.

On Feb 5, 2:58 pm, Kees-Jochem Wehrmeijer <henc...@gmail.com> wrote:
> If I use deftype it will work, but then I lose all the
> goodness of being able to use my type as a map.
If you implement the appropriate interfaces, your type will be able to
use your type as a map (if that makes sense).

Brian

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