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.0 required=3.0 tests=BAYES_20 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:2714:: with SMTP id n20mr3941705qkn.216.1607016968667; Thu, 03 Dec 2020 09:36:08 -0800 (PST) X-Received: by 2002:a25:3792:: with SMTP id e140mr206006yba.277.1607016968484; Thu, 03 Dec 2020 09:36:08 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 3 Dec 2020 09:36:08 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2601:3c3:401:f550:20de:abde:56de:7a13; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 2601:3c3:401:f550:20de:abde:56de:7a13 References: <9dab63e0-617f-43a3-a0a3-eac0ae049afcn@googlegroups.com> <2ecfe1ae-5b2b-4719-901c-ee9bbc1dce03n@googlegroups.com> <861rg7izdn.fsf@stephe-leake.org> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <48d75e59-f289-4114-826a-be0f77d25329n@googlegroups.com> Subject: Re: Advent of Code From: John Perry Injection-Date: Thu, 03 Dec 2020 17:36:08 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:60684 List-Id: On Thursday, December 3, 2020 at 11:20:42 AM UTC-6, bj=C3=B6rn lundin wrote= : > Den 2020-12-03 kl. 15:52, skrev Wendel Wang:=20 > > I was wondering for example if there is a way to read the data from day= 2 as a record data structure? You can read it item by item, but is there a= way to do it as a record?=20 > > > I guess you can use Ada.Direct_io. ... > and its example=20 >=20 > =20 That's wonderful! I wish I'd known of that. john perry