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,d30566b623106d1e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-02 19:13:22 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!news-reader.ntrnet.net!uunet!ash.uu.net!newsfeed1.thebiz.net!not-for-mail Message-ID: <3B412A9A.7A8E@global2000.net> From: "Arthur G. Duncan" Reply-To: aduncan@global2000.net X-Mailer: Mozilla 3.0 (Win95; I) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: A simple question: is there anything in Ada like STL in C++ References: <4b98b099.0107010445.31b09c4@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 8dp0sKqbZOcZW9cjKA65dnEoVLt9S8AosP1xy81bvMwDon/dcAofjXLLMIQ= X-Trace: XzkcREuKlcXvno6iJZV51XFCAT31LUFVHa5oz8O5bKu+13jzpYx+Dyav8MvRairPrPalgJbSMmYG!FwrksJQhEJ912LLS2L2PZAe9nttN3TR+ebIDlhzBW+xDKHQp+2hKVAsMnrJ0W9gCvwJwbrSNNMKe!cRfkHeX0biwKO0k+ X-Complaints-To: news-abuse@thebiz.net X-Abuse-Info: Please be sure to forward a copy of ALL headers to X-Abuse-Info: news-abuse@thebiz.net, otherwise we will be unable X-Abuse-Info: to process your complaint properly. NNTP-Posting-Date: Mon, 02 Jul 2001 22:13:10 EDT Organization: BiznessOnline.com, Inc. Date: Tue, 03 Jul 2001 02:13:20 GMT Xref: archiver1.google.com comp.lang.ada:9356 Date: 2001-07-03T02:13:20+00:00 List-Id: David C. Hoos, Sr. wrote: > > Strange as it may seem, the STL actually had its origins in Ada. The > work was headed p by Professor David Musser at Rensselaer > Polytechnic Institute, and the work used to be published on the Web. > > It now seems to have disappeared. The work was called the Ada Generic Library and was carried by Alex Stepanov and Dave Musser, while Musser was still at the GE Research and Development Center in Schenectady, New York. Stepanov, at the time, was teaching at the Polytechnic University in Brooklyn. Stepanov also worked at GE-CR&D before going to Polytechnic. The library consisted of a number of generic list processing algorithms. The work was published by Springer in 1989 (ISBN 0-387-97133-5). The work grew out of some of Stepanov's work on Higher Order Programming in Scheme, which he had developed at the Polytechnic University. In Scheme Stepanov used higher-order functions (i.e., functions that accepted functions as arguments and returned functions as their result) to generate the list algorithm implementations. In Ada, Musser and Stepanov used generics, since Ada does not support higher-order functions (at least not directly). A side note. Some of these implementations used up to six levels of generic instantiation, which was sufficient to break most of the commercial Ada compilers available at that time. For something more like the STL in Ada, there is a paper by Erlingsson and Konstantinou (1996), describing some work aimed at providing an Ada analogue of the STL. This work was done at R.P.I. under the direction of Dave Musser. Hope this helps Regards, - Art Duncan NYS-HESC Adjunct Professor, Rensselaer Polytechnic Institute