You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/01/05 19:40:39 UTC

[jira] [Comment Edited] (GROOVY-7432) Enhance CharSequence with appropriate Iterable extension methods

    [ https://issues.apache.org/jira/browse/GROOVY-7432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15083536#comment-15083536 ] 

Pascal Schumacher edited comment on GROOVY-7432 at 1/5/16 6:40 PM:
-------------------------------------------------------------------

Closed as discussed on the [mailing list|https://mail-archives.apache.org/mod_mbox/incubator-groovy-dev/201512.mbox/%3CCANBeYQQD6gxW4psX4e5c-v5V6gtyFGvwhC5n31cGTOgpNet44g%40mail.gmail.com%3E].


was (Author: pascalschumacher):
Closed as discussed on the [mailing list|https://mail-archives.apache.org/mod_mbox/incubator-groovy-dev/201512.mbox/%3CCANBeYQQD6gxW4psX4e5c-v5V6gtyFGvwhC5n31cGTOgpNet44g%40mail.gmail.com%3E]. Feel free to reopen if you disagree and want to work on this.

> Enhance CharSequence with appropriate Iterable extension methods
> ----------------------------------------------------------------
>
>                 Key: GROOVY-7432
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7432
>             Project: Groovy
>          Issue Type: Improvement
>          Components: groovy-jdk
>            Reporter: Peter Ledbrook
>
> Groovy enables developers to treat {{CharSequence}}s as if they were true sequences. For example, you can use a for loop and the array index operator. 
> Some extension methods are missing though. One I was hoping to find was the {{count(Closure)}} method. I think it makes sense to incorporate any {{Iterable}} extension methods into {{CharSequence}} as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)