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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6232d4984b20be17 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-21 14:52:58 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!logbridge.uoregon.edu!nntp.newsfirst.net!newshub.more.net!news.more.net!silver.truman.edu!150.243.170.1 From: "Chad R. Meiners" Newsgroups: comp.lang.ada References: <3ab6442f.0@silver.truman.edu> Subject: Re: Implementing an elegant range type. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <3ab92f93.0@silver.truman.edu> Date: Wed, 21 Mar 2001 16:55:11 -0600 NNTP-Posting-Host: 150.243.160.9 X-Trace: news.more.net 985215030 150.243.160.9 (Wed, 21 Mar 2001 16:50:30 CST) NNTP-Posting-Date: Wed, 21 Mar 2001 16:50:30 CST Xref: supernews.google.com comp.lang.ada:5982 Date: 2001-03-21T16:55:11-06:00 List-Id: Given that there is some interest in this solution, I have constructed a package that allows you to instantiate a range type from a generic package. I believe that it is documented well enough to avoid the confusion that Mark was worried about (if you wouldn't mind looking at it Mark and telling me what you think ;). You can play around with it and tell me what you think of it. It can be downloaded at http://adapower.net/~cmeiners/ranges/ranges.zip Thank you, Chad R. Meiners