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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-31 23:09:14 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: 18k11tm001@sneakemail.com (Russ) Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: 31 Oct 2003 23:09:14 -0800 Organization: http://groups.google.com Message-ID: References: <3FA2CDCB.500F4AF0@fakeaddress.nil> NNTP-Posting-Host: 63.194.87.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1067670554 31769 127.0.0.1 (1 Nov 2003 07:09:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 1 Nov 2003 07:09:14 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:1890 Date: 2003-10-31T23:09:14-08:00 List-Id: Gautier Write-only wrote in message news:<3FA2CDCB.500F4AF0@fakeaddress.nil>... > To sum up, I'd describe the current situation so > > - beginner-repellent and newcomer-repellent (not to be neglected !) > - ugly > - redundant > - causes a readability problem and possible confusions > - pushes the real thing, i.e. the programming contents after > "procedure/package... is", too far away of the source's top > - needs too much administration > > My proposal: a "with and use" clause. "with and use A[,B]" would > mean "with A[,B]; use A[,B]". > > (C) > > -- (1) With'ed only > with Ada.Command_Line; > > -- (2) With'ed and Use'd > with and use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Float_Text_IO; Fabulous idea! I'd refine it one step further to "with/use": with/use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Float_Text_IO;