When I asked the same question a few weeks ago, Rich Hickey gave this response:
http://groups.google.com/group/clojure/browse_thread/thread/77ba769caef82803/60738209810ec491 Looking at StringSeq, as he suggested, was particularly helpful. I found useful the idea of using an integer counter to represent the current location in the data structure. Best, Garth On Sun, Jul 26, 2009 at 5:14 PM, Meikel Brandmeyer <m...@kotka.de> wrote: > Hi, > > Am 26.07.2009 um 22:45 schrieb eyeris: > > I want to implement ISeq to provide a sequence over an Excel file. I >> plan to implement it in Java. I see that Range extends ASeq for its >> default implementation of cons() and more(). Is extending ASeq the >> recommended way to implement a sequence? >> > > Yes. The recommended way to implement > a seq is to extend ASeq and implement first() > and more(). (The other methods are optional, > but it might be interesting to exploit some > structure of your data to provide faster versions. > YMMV) > > 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 -~----------~----~----~----~------~----~------~--~---