Make String rseq-able

85 views
Skip to first unread message

Alan Malloy

unread,
Aug 30, 2011, 2:28:20 AM8/30/11
to Clojure Dev
Is anyone interested in being able to do (rseq "some-string")?
Currently rseq only works on instances of Reversible, but there is a
lot of precedent for treating some java builtins specially, such as in
c.l.RT.countFrom and c.l.nthFrom. I'd be happy to put together a patch
to make strings, arrays, and anything both Countable and Indexed
"appear" Reversible.

Justin Balthrop

unread,
May 1, 2014, 6:33:03 PM5/1/14
to cloju...@googlegroups.com
I just needed this, 2.5 years later. +1
Reply all
Reply to author
Forward
0 new messages