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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6941f5cd4f1d4739 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: SPARK - an idea for high integrity data structures Date: Tue, 20 Jul 2010 20:18:49 +0100 Organization: A noiseless patient Spider Message-ID: References: <9ac8feb3-5b79-41b1-a124-df211039c1bc@c10g2000yqi.googlegroups.com> <4c45f3e7$0$2388$4d3efbfe@news.sover.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 20 Jul 2010 19:18:49 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="12326"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oLzIEoH7w52fiLX86SG82cqcb4K0cRmk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:37OdrYcDC2kbEPczy0QzP0PWR30= sha1:P4Joe3UxHgXq0YBUZcTnLTZoTN0= Xref: g2news1.google.com comp.lang.ada:12486 Date: 2010-07-20T20:18:49+01:00 List-Id: "Peter C. Chapin" writes: > I know Praxis is working on generics support in SPARK. Once that was > ready it probably wouldn't be too hard for the original author of a > high integrity collections library to generalize the code as > appropriate. At least that would be my hope. An alternative might be to use an external macro processor to generate appropriate code complete with annotations. I guess that would depend on whether the proofs (a) didn't depend on the contained type, (b) didn't need (much) human intervention.