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 2023/06/13 06:57:25 UTC
[groovy-website] branch asf-site updated: minor tweaks
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
The following commit(s) were added to refs/heads/asf-site by this push:
new 2fedd13 minor tweaks
2fedd13 is described below
commit 2fedd13e60755122f97d0fc6fb6367d54c0d02f2
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Jun 13 16:57:14 2023 +1000
minor tweaks
---
site/src/site/blog/groovy-dauphine.adoc | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/site/src/site/blog/groovy-dauphine.adoc b/site/src/site/blog/groovy-dauphine.adoc
index 9e443ba..5d4bd85 100644
--- a/site/src/site/blog/groovy-dauphine.adoc
+++ b/site/src/site/blog/groovy-dauphine.adoc
@@ -44,16 +44,17 @@ to produce a pretty barchart.
Running this code produces the following output:
-```
+[source,text]
+----
Country Riders Places Count
π©π° JONAS VINGEGAARD 1 ββββββββ
π¬π§ ADAM YATES 2 ββββββββ
-π¦πΊ BEN O'CONNOR, JAI HINDLEY, JACK HAIG 3, 4, 5 βββββββββββββββββββββββ
+π¦πΊ BEN OβCONNOR, JAI HINDLEY, JACK HAIG 3, 4, 5 βββββββββββββββββββββββ
π«π· GUILLAUME MARTIN, JULIAN ALAPHILIPPE 6, 10 βββββββββββββββ
πΏπ¦ LOUIS DU BOUISSON MEINTJES 7 ββββββββ
π³π΄ TORSTEIN TRΓEN 8 ββββββββ
πͺπΈ CARLOS RODRIGUEZ CANO 9 ββββββββ
-```
+----
We can achieve a similar result using GQuery (AKA GINQ) using the following code:
@@ -85,11 +86,12 @@ and `aggPlaces`.
Running this code gives the following output:
-```
+[source,text]
+----
+---------+--------------------------------------+---------+--------+
| Country | Riders | Places | Count |
+---------+--------------------------------------+---------+--------+
-| π¦πΊ | BEN O'CONNOR, JAI HINDLEY, JACK HAIG | 3, 4, 5 | ββββββ |
+| π¦πΊ | BEN OβCONNOR, JAI HINDLEY, JACK HAIG | 3, 4, 5 | ββββββ |
| π©π° | JONAS VINGEGAARD | 1 | ββ |
| π³π΄ | TORSTEIN TRΓEN | 8 | ββ |
| πΏπ¦ | LOUIS DU BOUISSON MEINTJES | 7 | ββ |
@@ -97,9 +99,10 @@ Running this code gives the following output:
| πͺπΈ | CARLOS RODRIGUEZ CANO | 9 | ββ |
| π«π· | GUILLAUME MARTIN, JULIAN ALAPHILIPPE | 6, 10 | ββββ |
+---------+--------------------------------------+---------+--------+
-
-```
+----
For Groovy 5, we are currently exploring the possibility of adding more
functions in GQuery, like `bar` and `stringAgg`. If you are interested in this
-functionality, please get in touch via the mailing lists or slack.
\ No newline at end of file
+functionality, please get in touch via the
+https://groovy-lang.org/mailing-lists.html[mailing lists] or
+http://groovycommunity.com/[Slack].
\ No newline at end of file