Hi,

On Aug 31, 1:35 am, "jonathan.arrender.sm...@gmail.com"
<jonathan.arrender.sm...@gmail.com> wrote:
> I was not sure from the documentation if conj, seq, etc are generic
> functions (multimetiod functions). Is there any easy way to define
> these for a new type?

Shameless commercial: http://bitbucket.org/kotarak/lazymap/

This library allows to define maps, which compute the value of a key
really only if necessary (ie. when the value is retrieved from the
map). It implements the IPersistentMap interface and provides a custom
ISeq implementation to ensure laziness of the resulting MapEntry
sequence. This is a real-life example plugging into the system in a
complete transparent way: you can drop a lazymap where ever a normal
map would work.

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

Reply via email to