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

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

Sounds good (and I agree an addition and a multiplication make even more sense 
to explain composition)
If possible, yes, a Pull Request would be really great!

> 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