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-Thread: a07f3367d7,ae588df7b8719e90 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Colin Paul Gloster Newsgroups: comp.lang.ada Subject: Re: Imagine Ada with Fewer Attributes Date: Mon, 17 May 2010 13:27:01 +0000 Organization: A noiseless patient Spider Message-ID: References: Reply-To: Colin Paul Gloster Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Injection-Date: Mon, 17 May 2010 12:28:07 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="kheEuXGHhE2Z5eF1gAST+A"; logging-data="12557"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185gCwTWtbGqCyJbX/vr+zVoER/W1v/rVyLx2UEWFo3mQ==" User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) In-Reply-To: Cancel-Lock: sha1:ggqk+h4je5csrpxVjcPMFv3jxhE= X-X-Sender: Colin_Paul@Bluewhite64.example.net Xref: g2news2.google.com comp.lang.ada:11688 Date: 2010-05-17T13:27:01+00:00 List-Id: On Sat, 15 May 2010, Frank J. Lhota sent: |----------------------------------------------------------------------------| |"[..] | |[..] For example, rather than having an 'Image, 'Value, 'Succ, etc. | |attribute for the scalar types, why not simply have Image, Value, Succ, etc.| |functions for the scalar types, that the user can override? | | | |[..]" | |----------------------------------------------------------------------------| Functions are not needed for this. VHDL (a family of dialects of Ada 83) has user-defined attributes.