From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:622a:4c7:: with SMTP id q7mr13737385qtx.226.1641809947913; Mon, 10 Jan 2022 02:19:07 -0800 (PST) X-Received: by 2002:a5b:60e:: with SMTP id d14mr10856532ybq.31.1641809947723; Mon, 10 Jan 2022 02:19:07 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 10 Jan 2022 02:19:07 -0800 (PST) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=94.60.27.164; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY NNTP-Posting-Host: 94.60.27.164 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9e90006a-59f4-40fb-8b0f-ef5f957d3d86n@googlegroups.com> Subject: Re: Ok - WHAT are those "Maps.Identity" things ??? From: Marius Amado-Alves Injection-Date: Mon, 10 Jan 2022 10:19:07 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63365 List-Id: > Hate typing long things ... made one-liners S2U() and > U2S() if you can guess what those are :-) This is totally line with the strict typing of Ada (no implicit conversion). Most of us abbreviate even more as "+". Sorry, but I fail to see any reason the standard Ada.Strings Index functions would not work for your usecases. If possible please provide a succint explanation.