IteratorSequence, dead code?
I've been using Java class ItreratorSequence in package clojure.lang. But then I noticed that this class is not referenced anywhere. Is this dead code or otherwise not supported? I had been planning on subclassing this code. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: IteratorSequence, dead code?
Oh! First, let me correct. I'm referring to IteratorSeq in clojure.lang. The constructor is package scoped, so I'll need to copy the code instead of subclassing. (Or convert it to Clojure.) So my question really is if the code is outdated? Seems to run fine for my limited tests so far. But I worry about using is as a starting point since the code is apparently unreferenced. On Friday, August 21, 2015 at 6:37:48 AM UTC-4, William la Forge wrote: I've been using Java class ItreratorSequence in package clojure.lang. But then I noticed that this class is not referenced anywhere. Is this dead code or otherwise not supported? I had been planning on subclassing this code. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: IteratorSequence, dead code?
Thanks! On Friday, August 21, 2015 at 7:54:04 AM UTC-4, Moe Aboulkheir wrote: William, https://clojuredocs.org/clojure.core/iterator-seq previously used it, but as of this commit: https://github.com/clojure/clojure/commit/c47e1bbcfa227723df28d1c9e0a6df2bcb0fecc1 uses RT/chunkIteratorSeq http://dev.clojure.org/jira/browse/CLJ-1669 : IteratorSeq will no longer be used but is left in case of regressions for now. Take care, Moe On Fri, Aug 21, 2015 at 12:02 PM, William la Forge lafo...@gmail.com javascript: wrote: Oh! First, let me correct. I'm referring to IteratorSeq in clojure.lang. The constructor is package scoped, so I'll need to copy the code instead of subclassing. (Or convert it to Clojure.) So my question really is if the code is outdated? Seems to run fine for my limited tests so far. But I worry about using is as a starting point since the code is apparently unreferenced. On Friday, August 21, 2015 at 6:37:48 AM UTC-4, William la Forge wrote: I've been using Java class ItreratorSequence in package clojure.lang. But then I noticed that this class is not referenced anywhere. Is this dead code or otherwise not supported? I had been planning on subclassing this code. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clo...@googlegroups.com javascript: Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+u...@googlegroups.com javascript: 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: IteratorSequence, dead code?
Deprecated is fine. It can not be sub-classed as it has package-scoped methods. Am rewriting it in Clojure, which is a great exercise for this raw newbie. Thanks! Only I was worried if it is out of date, which it is not looking like for now. On Friday, August 21, 2015 at 8:04:16 AM UTC-4, Alex Miller wrote: I would consider IteratorSeq to be deprecated and a candidate for removal, so subclass at your own risk. Alex -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: IteratorSequence, dead code?
William, https://clojuredocs.org/clojure.core/iterator-seq previously used it, but as of this commit: https://github.com/clojure/clojure/commit/c47e1bbcfa227723df28d1c9e0a6df2bcb0fecc1 uses RT/chunkIteratorSeq http://dev.clojure.org/jira/browse/CLJ-1669 : IteratorSeq will no longer be used but is left in case of regressions for now. Take care, Moe On Fri, Aug 21, 2015 at 12:02 PM, William la Forge laforg...@gmail.com wrote: Oh! First, let me correct. I'm referring to IteratorSeq in clojure.lang. The constructor is package scoped, so I'll need to copy the code instead of subclassing. (Or convert it to Clojure.) So my question really is if the code is outdated? Seems to run fine for my limited tests so far. But I worry about using is as a starting point since the code is apparently unreferenced. On Friday, August 21, 2015 at 6:37:48 AM UTC-4, William la Forge wrote: I've been using Java class ItreratorSequence in package clojure.lang. But then I noticed that this class is not referenced anywhere. Is this dead code or otherwise not supported? I had been planning on subclassing this code. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: IteratorSequence, dead code?
I would consider IteratorSeq to be deprecated and a candidate for removal, so subclass at your own risk. Alex -- 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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.