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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9768c08202fdbbb1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-08 19:20:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!news-peer.gradwell.net!not-for-mail Newsgroups: comp.lang.ada From: porton@ex-code.com (Victor Porton) Date: Fri, 08 Nov 2002 23:12:25 +0500 References: <3dcb8347$0$299$bed64819@news.gradwell.net> Subject: Re: Let's change semantics of "use type" Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Content-Type: text/plain; charset=us-ascii Message-ID: <3dcc7efd$0$308$bed64819@news.gradwell.net> NNTP-Posting-Date: 09 Nov 2002 03:20:29 GMT NNTP-Posting-Host: 195.149.39.13 X-Trace: 1036812029 news.gradwell.net 308 mail2news/195.149.39.13 X-Complaints-To: news-abuse@gradwell.net Xref: archiver1.google.com comp.lang.ada:30619 Date: 2002-11-09T03:20:29+00:00 List-Id: In article , Robert A Duff writes: > porton@ex-code.com (Victor Porton) writes: > >> I am suggesting (for the next Standard) to change the semantics of "use >> type" so that it would make visible not only primitive _operators_, but >> all primitive _operations_. > > Why not just "use" the package in which the type is declared? > Why is this worth modifying the language? There are many writings on why "use" package is an evil: It may expose something unintentionally especially when switching to a new version of a package. This unintentionally used identifier may cause program behavior different from intended by a not enough careful programmer (everybody). I retell that I also suggested an alternate syntax "use all type".