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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Your wish list for Ada 202X Date: Thu, 24 Apr 2014 18:57:58 +0200 Organization: cbb software GmbH Message-ID: <1xzctl2gd8mdn.1qmnft9vynz8k$.dlg@40tude.net> References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <11241mc0j3ewn.14ahwtra3l1i8.dlg@40tude.net> <10o6qo98dwzjs$.rdpzvq7w1lep.dlg@40tude.net> <1y4292c8reke$.10t8zilxfxjqf.dlg@40tude.net> <98un5d2zp91p$.cbmroy0r1uqu.dlg@40tude.net> <%fW5v.233114$ZP3.133046@fx20.iad> <1m2e01a5935at$.7808izv5mhqk.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: AuYlnUSfTZrfhAkRjyySpQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 3580 Xref: number.nntp.dca.giganews.com comp.lang.ada:186073 Date: 2014-04-24T18:57:58+02:00 List-Id: On Thu, 24 Apr 2014 10:50:49 -0600, Shark8 wrote: > On 24-Apr-14 10:19, Dmitry A. Kazakov wrote: >> On Thu, 24 Apr 2014 09:20:52 -0600, Shark8 wrote: >> >>> On 24-Apr-14 01:30, Dmitry A. Kazakov wrote: >>>> On Wed, 23 Apr 2014 15:28:27 -0600, Shark8 wrote: >>>> >>>>> On 23-Apr-14 14:00, Dmitry A. Kazakov wrote: >>>>>> On Wed, 23 Apr 2014 13:43:19 -0600, Shark8 wrote: >>>>>> >>>>>>> On 23-Apr-14 01:45, Dmitry A. Kazakov wrote: >>>>>>>> In the case of files there already is such stick object: /dev/null. >>>>>>> >>>>>>> I think there's a problem with that assertion >>>>>>>> C:\Programming\Projects\SiennaSCL\src>cd /dev/null >>>>>>>> The system cannot find the path specified. >>>>>>> >>>>>>> See? >>>>>> >>>>>> Path /= File >>>>> >>>>> Not much different: >>>> >>>> Decisively different. >>>> >>>> It would be trivial to implement Null_File_Type, provided there were >>>> Root_File_Type. Alas, non-tagged File_Type is Ada 83 heritage. >>>> >>>> If you don't mind being GNAT-locked, you can implement GNAT-specific >>>> Null_File of File_Type on top of GNAT implementation. >>>> >>>> For stream I/O everything is here. Root_Stream_Type is tagged. >>>> >>>> type Null_Stream_Type is new Root_Stream_Type with null record; >>>> overriding procedure Read ... >>>> overriding procedure Write ... >>>> >>>> Null_Stream : Null_Stream_Type; >>> >>> You're completely missing the point -- it wasn't about a null-file, it >>> was about assuming all computers are *nix. >> >> Where was this assumed? /dev/null was an example of a file which could >> serve the purpose. > > The assumption is implicit in your example: > __/dev/null__, see? Nope. " ex·am·ple (ĭg-zăm′pəl) n. 1. One that is representative of a group as a whole: the squirrel, an example of a rodent; introduced each new word with examples of its use." Here is no assumption that all rodents live on trees, though some squirrels do. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de