From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:3d14:: with SMTP id n20-v6mr2073072itn.13.1538763096053; Fri, 05 Oct 2018 11:11:36 -0700 (PDT) X-Received: by 2002:a9d:bf3:: with SMTP id 106mr159318oth.2.1538763095731; Fri, 05 Oct 2018 11:11:35 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!x98-v6no96554ita.0!news-out.google.com!l70-v6ni83itb.0!nntp.google.com!x98-v6no96551ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 5 Oct 2018 11:11:35 -0700 (PDT) In-Reply-To: <00285ebf-6ede-44da-848f-456930dc7475@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2001:14bb:51:2563:5c83:217e:4aa9:f00; posting-account=9KbC2woAAAA0kK2IAUr3-FkzJBtOzrhm NNTP-Posting-Host: 2001:14bb:51:2563:5c83:217e:4aa9:f00 References: <0f5608ef-0038-491c-b15f-f67bcc76fae8@googlegroups.com> <00285ebf-6ede-44da-848f-456930dc7475@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Record operations (Algebraic Data Types and printing) From: =?UTF-8?B?SGVucmlrIEjDpHJrw7ZuZW4=?= Injection-Date: Fri, 05 Oct 2018 18:11:36 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader02.eternal-september.org comp.lang.ada:54489 Date: 2018-10-05T11:11:35-07:00 List-Id: On Friday, 5 October 2018 20:58:30 UTC+3, AdaMagica wrote: > Do it yourself... There is no such default. Yes, I was coming to this conclusion quite quickly as well. Thought to ask,= just in case. :) > A record may have private (even limited) components. What should a defaul= t for these look like? I have to say, I don't have any idea. As stated above, coming from Scala (a= nd JVM) world, and having worked also with Python for years, Ada seems to b= e _quite_ a different world (to me at least). There you'd just toss an obje= ct to println() and get members listed as well with the values. But I guess= we're not in Kansas anymore... :D=20 I do have professional C background as well, but that's so low level stuff = that I wouldn't expect anything fancy like that... -H