You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Matt Whipple (JIRA)" <ji...@apache.org> on 2015/08/24 18:08:45 UTC

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

Matt Whipple created GROOVY-7556:
------------------------------------

             Summary: 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)