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 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,92d1af21ade61406 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-11 05:24:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!dialin-145-254-040-032.arcor-ip.NET!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Problems with 'class, help anyone? Date: Mon, 11 Nov 2002 14:24:03 +0100 Organization: At home Message-ID: References: <3DBE2593.9080800@worldnet.att.net> <3DBF9437.8090408@worldnet.att.net> <3DC74F23.80308@worldnet.att.net> <3DC91DBB.C85F27E@brighton.ac.uk> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: dialin-145-254-040-032.arcor-ip.net (145.254.40.32) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: fu-berlin.de 1037021070 12188073 145.254.40.32 (16 [77047]) User-Agent: KNode/0.7.1 Xref: archiver1.google.com comp.lang.ada:30721 Date: 2002-11-11T14:24:03+01:00 List-Id: Lutz Donnerhacke wrote: > * Dmitry A. Kazakov wrote: >> But we still need some keywords for: >> >> 1. Subroutine (=procedure) > > procedure > >> 2. Subroutine with no side-effects other than on the arguments (=?) > > Pure procedure (pragma Pure) Pragma Pure is for compilation units only. >> 3. Subroutine with only one side-effect on the result (=?) > > Pure Function > >> {1,2,3} is multiplied to: >> >> A. Subroutine with no queue >> B. Subroutine with a queue (entry) > > You may add inline/shared_generic as a parameter. Well, C++ has "inline" as a keyword. I doubt that it is a good idea. Inline vs. not inline should have no impact on the program semantics (at least it should look so (:-)). Therefore it should not be reflected in the language syntax. -- Regards, Dmitry A. Kazakov www.dmitry-kazakov.de