groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject Re: About polish the generics type syntax for closure
Date Sat, 16 Feb 2019 19:14:47 GMT
Hi Jochen,

      How about simplifying the following code?
```
Closure<():R1;(X):R2;(Y,Z):R3>
```
to
```
Closure<R1(); R2(X); R3(Y, Z)> // proposed by mg
```

Cheers,
Daniel.Sun



-----
Apache Groovy committer 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message