You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2021/04/13 11:35:03 UTC

[groovy-website] 02/02: Prepare release notes for Groovy 4 (Placeholder for enhanced ranges)

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git

commit 93c867a299463ab2b8ba89ed3bf377983416f364
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Apr 13 21:34:53 2021 +1000

    Prepare release notes for Groovy 4 (Placeholder for enhanced ranges)
---
 site/src/site/releasenotes/groovy-4.0.adoc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/site/src/site/releasenotes/groovy-4.0.adoc b/site/src/site/releasenotes/groovy-4.0.adoc
index 88335c0..47d513e 100644
--- a/site/src/site/releasenotes/groovy-4.0.adoc
+++ b/site/src/site/releasenotes/groovy-4.0.adoc
@@ -491,6 +491,13 @@ long e = System.currentTimeMillis()
 println "${e - b}ms"
 --------------------------------------
 
+=== Enhanced Ranges
+
+Groovy has always supported inclusive, e.g. `3..5`, and exclusive (or open on the right), e.g. `4..<10`, ranges.
+From Groovy 4, ranges can be closed, open on the left, e.g. `3<..5`, right or both sides, e.g. `0<..<3`.
+The range will exclude the left or right-most values for such ranges.
+link:https://issues.apache.org/jira/browse/GROOVY-9649[GROOVY-9649]
+
 [[Groovy4.0-ongoing]]
 == On-going work