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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.157.33.41 with SMTP id i38mr12156923otb.126.1496706553398; Mon, 05 Jun 2017 16:49:13 -0700 (PDT) X-Received: by 10.157.45.132 with SMTP id g4mr516515otb.0.1496706553330; Mon, 05 Jun 2017 16:49:13 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!67no1451922itx.0!news-out.google.com!k7ni6699itk.0!nntp.google.com!67no1451912itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 5 Jun 2017 16:49:13 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.113.92.25; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 76.113.92.25 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5307045c-c829-4183-908c-107293b66b40@googlegroups.com> Subject: Compile-time function execution. From: Shark8 Injection-Date: Mon, 05 Jun 2017 23:49:13 +0000 Content-Type: text/plain; charset="UTF-8" Xref: news.eternal-september.org comp.lang.ada:46894 Date: 2017-06-05T16:49:13-07:00 List-Id: I recently came across this article describing a compile-time sort in D -- https://dlang.org/blog/2017/06/05/compile-time-sort-in-d/ -- and vaguely recall reading something on how Ada could have compile-time execution of functions too. Does anyone have a similar example in Ada?