TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding:
7bit
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
Subject:
From:
Chris Sparks <[log in to unmask]>
Date:
Tue, 1 Dec 1998 11:56:41 -0800
Content-Type:
text/plain; charset=us-ascii
MIME-Version:
1.0
Reply-To:
Chris Sparks <[log in to unmask]>
Parts/Attachments:
text/plain (26 lines)
Hi all,

I would like an answer to the following as to why it wasn't considered
for
addition to the Ada standard:

Why didn't user-defined attribute functions (not 'Read and 'Write) get
incorporated into the standard.

Example:
  type An_Integer is range 0 .. 100;
  function An_Integer'New_Stuff (A : in Integer) return An_Integer;

Usage:
  A : An_Integer;
  B : An_Integer := An_Integer'New_Stuff (A);

Well you get the gist.....
--
Chris Sparks
68 442 SC - Frosty
68 442 HT - Scarlet
68 442 HT - Saffron
82 DRB    - Dr. "B"
http://www.catalina-inter.net/mrada

ATOM RSS1 RSS2