From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 21 Sep 92 13:03:35 GMT From: dog.ee.lbl.gov!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio- state.edu!news.sei.cmu.edu!firth@ucbvax.Berkeley.EDU (Robert Firth) Subject: Re: Pascal type sets in Ada? Message-ID: <1992Sep21.130335.26035@sei.cmu.edu> List-Id: In article <1992Sep21.050905.1@cc.utah.edu> eyring@cc.utah.edu writes: >This is a question I have had for some time. >Why doesn't Ada include Pascal type sets? >There must be a reason. Or how does one >do Pascal sets in Ada? Any ideas? The reason we omitted the Pascal "SET OF" type constructor is that we believed set types could be defined using the other features of the language. As to how, the Ada Rationale, Sect 12.2.4, gives a miniature example.