You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by gi...@apache.org on 2026/05/21 07:07:42 UTC
(groovy-dev-site) branch asf-site updated: 2026/05/21 07:07:38: Generated dev website from groovy-website@2e38c09
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-dev-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 3a390ad 2026/05/21 07:07:38: Generated dev website from groovy-website@2e38c09
3a390ad is described below
commit 3a390ad0070ade1a69db1de8fe7101c53feebd42
Author: jenkins <bu...@apache.org>
AuthorDate: Thu May 21 07:07:38 2026 +0000
2026/05/21 07:07:38: Generated dev website from groovy-website@2e38c09
---
blog/groovy6-functional.html | 17 ++++++++++++++++-
search/search-index.json | 2 +-
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/blog/groovy6-functional.html b/blog/groovy6-functional.html
index 399171f..178cb5e 100644
--- a/blog/groovy6-functional.html
+++ b/blog/groovy6-functional.html
@@ -798,6 +798,15 @@ annotations. The annotations are an investment the library author
makes once; every downstream codebase running the matching checker
recovers the value of it on every build.</p>
</div>
+<div class="paragraph">
+<p><a href="../wiki/GEP-24.html">GEP-24</a> is the natural extension of this
+story to errors: a candidate for Groovy 7 sketching library-side
+<code>@Raises</code> plus consumer-side <code>ExceptionChecker</code> for the declaration
+path, and an opt-in <code>Result<T></code> carrier (with an <code>attempt { }</code> macro
+and an <code>@AsResult</code> AST transform) recognised by <code>DO</code> for the
+runtime-composition path — all following the same producer-side /
+consumer-side split.</p>
+</div>
</div>
</div>
<div class="sect1">
@@ -973,7 +982,10 @@ accumulation via <code>Validation</code> (which Groovy 6 happily embeds in <code
Vavr additionally for <code>Try</code>/<code>Either</code> as runtime-composable carriers
where <em>failure-as-a-value</em> is the requirement, and for persistent
collections with structural sharing — both gaps not yet filled in
-Groovy core.</p>
+Groovy core. The <code>Try</code>/<code>Either</code> gap is the subject of
+<a href="../wiki/GEP-24.html">GEP-24</a>, a Groovy 7 candidate that proposes
+spec-side <code>@Raises</code> + <code>ExceptionChecker</code> and carrier-side <code>Result<T></code>
+following the same two-layer pattern used elsewhere in this post.</p>
</div>
</div>
</div>
@@ -986,6 +998,9 @@ Groovy core.</p>
<p><a href="../wiki/GEP-23.html">GEP-23 — Monadic comprehensions</a></p>
</li>
<li>
+<p><a href="../wiki/GEP-24.html">GEP-24 — Errors as values: compile-time <code>Try</code> without the wrapper</a> (Groovy 7 candidate)</p>
+</li>
+<li>
<p><a href="../releasenotes/groovy-6.0.html#type-checking-extensions">Groovy 6 release notes — type checking extensions</a></p>
</li>
<li>
diff --git a/search/search-index.json b/search/search-index.json
index 37be031..d4a4588 100644
--- a/search/search-index.json
+++ b/search/search-index.json
@@ -240,7 +240,7 @@
{
"id": "blog/groovy6-functional.html",
"title": "The Apache Groovy programming language - Blogs - Groovy 6 features for Functional Programmers",
- "content": "The Apache Groovy programming language - Blogs - Groovy 6 features for Functional Programmers Socialize Discuss on the mailing list Groovy on X Groovy on Bluesky Groovy on Mastodon Groovy on LinkedIn Events and conferences Source code on GitHub Report issues in Jira Stack Overflow questions Slack Community You are using an outdated browser. Please upgrade your browser to improve your experience. Apache Groovy™ Learn Documentation Download Support Contribute Ecos [...]
+ "content": "The Apache Groovy programming language - Blogs - Groovy 6 features for Functional Programmers Socialize Discuss on the mailing list Groovy on X Groovy on Bluesky Groovy on Mastodon Groovy on LinkedIn Events and conferences Source code on GitHub Report issues in Jira Stack Overflow questions Slack Community You are using an outdated browser. Please upgrade your browser to improve your experience. Apache Groovy™ Learn Documentation Download Support Contribute Ecos [...]
"url": "blog/groovy6-functional.html",
"site": "dev"
},