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)

Reply via email to