You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Guillaume Laforge (JIRA)" <ji...@apache.org> on 2015/08/25 15:09:46 UTC

[jira] [Commented] (GROOVY-7556) Use better example for Closure composition

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

Guillaume Laforge commented on GROOVY-7556:
-------------------------------------------

Perhaps you might want to contribute an alternative example and explanation?

> Use better example for Closure composition
> ------------------------------------------
>
>                 Key: GROOVY-7556
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7556
>             Project: Groovy
>          Issue Type: Documentation
>            Reporter: Matt Whipple
>            Priority: Minor
>
> The present examples in http://docs.groovy-lang.org/latest/html/api/groovy/lang/Closure.html of using solely multiplication for #leftShift and #rightShift isn't particularly illuminating about the differences between forward and reverse composition. Using different operators or something not associative/commutative so that the results differ could help. 



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