[RESULT][VOTE] Release Apache Groovy 4.0.21

2024-04-08 Thread Paul King
The vote has passed with THREE +1 binding votes, ONE additional +1 vote, and no other votes. I'll proceed with the next steps. Paul. On Sat, Apr 6, 2024 at 3:32 PM Paul King wrote: > > Dear development community, > > I am happy to start the VOTE thread for a Groovy 4.0.21 release! > > This

[ANNOUNCE] Apache Groovy 5.0.0-alpha-8 released

2024-04-08 Thread Paul King
Dear community, The Apache Groovy team is pleased to announce version 5.0.0-alpha-8 of Apache Groovy which includes support for running Groovy on JDK 23. Apache Groovy is a multi-faceted programming language for the JVM. Further details can be found at the https://groovy.apache.org website.

[RESULT][VOTE] Release Apache Groovy 5.0.0-alpha-8

2024-04-08 Thread Paul King
The vote has passed with THREE +1 binding votes and no other votes. I'll proceed with the next steps. Paul. On Sat, Apr 6, 2024 at 2:18 PM Paul King wrote: > > Dear development community, > > I am happy to start the VOTE thread for a Groovy 5.0.0-alpha-8 release! > > This release includes 15

Re: Potential enhancement to type checking extensions

2024-04-08 Thread Paul King
I also think option 4 is the right way to go. Option 3 has the benefit that both the operator and method call could be covered just by handling the method call (since the former is converted into the latter). Option 4 might require you to cover both cases in your type extension - but that might

Re: Potential enhancement to type checking extensions

2024-04-08 Thread Jochen Theodorou
On 08.04.24 13:56, Paul King wrote: [...] What I wanted to show is the same examples but using the '==' and '!=' operators, since that would be the typical Groovy style for this scenario. Unfortunately, using the type checking extension DSL doesn't currently work for binary operators. The swap

Potential enhancement to type checking extensions

2024-04-08 Thread Paul King
Hi folks, I was putting together a blog post on supporting Multiversal Equality with Groovy. It's an optional feature in Scala 3: https://docs.scala-lang.org/scala3/book/ca-multiversal-equality.html Using the example (involving print and audio books) from the above link, we can write an ad-hoc