From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:6214:10c6:: with SMTP id r6mr11482299qvs.44.1608426117879; Sat, 19 Dec 2020 17:01:57 -0800 (PST) X-Received: by 2002:ac8:1c38:: with SMTP id a53mr11434104qtk.70.1608426117748; Sat, 19 Dec 2020 17:01:57 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!aioe.org!peer01.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 19 Dec 2020 17:01:57 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2601:3c3:401:f550:7d6e:9d90:fdc5:6190; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 2601:3c3:401:f550:7d6e:9d90:fdc5:6190 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Advent of Code, Day 19 From: John Perry Injection-Date: Sun, 20 Dec 2020 01:01:57 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1854 Xref: reader02.eternal-september.org comp.lang.ada:60899 List-Id: On Saturday, December 19, 2020 at 7:43:16 AM UTC-6, gautier...@hotmail.com wrote: > Nice puzzle, with plenty of recursion! > First time I see two independent tails in a recursion. > A good opportunity to use the LISP-esque features of Ada: unconstrained arrays, 'First and 'Last, for 1-dimensional arrays: built-in concatenation with "&", slices. > Or perhaps there is a different way? I've totally botched today's puzzle. I got the first part, but not yet the second, and I'm traveling over the next couple of days, so I probably won't finish this for a while, if ever. I'll try hard not to peek at your solution. ;-)