[jira] [Commented] (GROOVY-8874) Refine tuples to support functional programming better
[ https://issues.apache.org/jira/browse/GROOVY-8874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16682777#comment-16682777 ] ASF GitHub Bot commented on GROOVY-8874: GitHub user danielsun1106 opened a pull request: https://github.com/apache/groovy/pull/821 GROOVY-8874: Refine tuples to support functional programming better You can merge this pull request into a Git repository by running: $ git pull https://github.com/danielsun1106/groovy GROOVY-8874 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/821.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #821 commit c70c4fa23396b65255ff2f220986d9d674aaf9e8 Author: danielsun1106 Date: 2018-11-11T07:47:21Z GROOVY-8874: Refine tuples to support functional programming better > Refine tuples to support functional programming better > -- > > Key: GROOVY-8874 > URL: https://issues.apache.org/jira/browse/GROOVY-8874 > Project: Groovy > Issue Type: Improvement >Reporter: Daniel Sun >Assignee: Daniel Sun >Priority: Major > > Inspired by jOOL ( https://github.com/jOOQ/jOOL ): > "Tuple support is essential in functional programming. A variety of things > can be modelled as tuples, e.g. function argument lists. This is why we > support type safe Tuple1 through Tuple16 types." -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] groovy pull request #821: GROOVY-8874: Refine tuples to support functional p...
GitHub user danielsun1106 opened a pull request: https://github.com/apache/groovy/pull/821 GROOVY-8874: Refine tuples to support functional programming better You can merge this pull request into a Git repository by running: $ git pull https://github.com/danielsun1106/groovy GROOVY-8874 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/821.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #821 commit c70c4fa23396b65255ff2f220986d9d674aaf9e8 Author: danielsun1106 Date: 2018-11-11T07:47:21Z GROOVY-8874: Refine tuples to support functional programming better ---
[jira] [Updated] (GROOVY-8874) Refine tuples to support functional programming better
[ https://issues.apache.org/jira/browse/GROOVY-8874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Sun updated GROOVY-8874: --- Description: Inspired by jOOL ( https://github.com/jOOQ/jOOL ): "Tuple support is essential in functional programming. A variety of things can be modelled as tuples, e.g. function argument lists. This is why we support type safe Tuple1 through Tuple16 types." > Refine tuples to support functional programming better > -- > > Key: GROOVY-8874 > URL: https://issues.apache.org/jira/browse/GROOVY-8874 > Project: Groovy > Issue Type: Improvement >Reporter: Daniel Sun >Assignee: Daniel Sun >Priority: Major > > Inspired by jOOL ( https://github.com/jOOQ/jOOL ): > "Tuple support is essential in functional programming. A variety of things > can be modelled as tuples, e.g. function argument lists. This is why we > support type safe Tuple1 through Tuple16 types." -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (GROOVY-8874) Refine tuples to support functional programming better
Daniel Sun created GROOVY-8874: -- Summary: Refine tuples to support functional programming better Key: GROOVY-8874 URL: https://issues.apache.org/jira/browse/GROOVY-8874 Project: Groovy Issue Type: Improvement Reporter: Daniel Sun Assignee: Daniel Sun -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (GROOVY-8872) Decompiled parameter names don't reflect the names in the bytecode
[ https://issues.apache.org/jira/browse/GROOVY-8872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King resolved GROOVY-8872. --- Resolution: Fixed Assignee: Paul King Fix Version/s: 2.5.5 3.0.0-alpha-4 Merged. Thanks for the PR! > Decompiled parameter names don't reflect the names in the bytecode > -- > > Key: GROOVY-8872 > URL: https://issues.apache.org/jira/browse/GROOVY-8872 > Project: Groovy > Issue Type: Improvement > Components: bytecode, Compiler >Affects Versions: 2.5.4 >Reporter: James Kleeh >Assignee: Paul King >Priority: Major > Fix For: 3.0.0-alpha-4, 2.5.5 > > Attachments: groovy-bug.tar.gz > > > org.codehaus.groovy.ast.Parameter names do not reflect what is stored in the > bytecode. > In this example project, I have 3 projects. > api - Has a single interface that is compiled with parameters=true > app - Has a single interface that extends the one in api and is compiled with > parameters=true > processor - Has a single ast transform that fails compilation if any method > parameters start with "param" > > The parameter names for the interface in the api project do not reflect the > bytecode when compiling the app project > > The runnable example is available here and I've attached it below > https://github.com/jameskleeh/groovy-ast-bug -- This message was sent by Atlassian JIRA (v7.6.3#76005)