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,d00514eb0749375b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!l8g2000yql.googlegroups.com!not-for-mail From: Phil Clayton Newsgroups: comp.lang.ada Subject: Re: initialize an array (1-D) at elaboration using an expression based on the index? Date: Sun, 31 Oct 2010 17:45:20 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <1f6bad81-e3d2-428b-a1a0-45acc7f96f68@m7g2000yqm.googlegroups.com> <9df4e5eb-fba7-4e8c-ba44-cd1ad4081d3b@26g2000yqv.googlegroups.com> <985a178c-8dfc-48af-9871-76a64750a571@l14g2000yqb.googlegroups.com> NNTP-Posting-Host: 86.135.83.20 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1288572320 31500 127.0.0.1 (1 Nov 2010 00:45:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 1 Nov 2010 00:45:20 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l8g2000yql.googlegroups.com; posting-host=86.135.83.20; posting-account=v7gx3AoAAABfjb9m5b7l_Lt2KVEgQBIe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.15) Gecko/2009102704 Fedora/3.0.15-1.fc10 Firefox/3.0.15,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16054 Date: 2010-10-31T17:45:20-07:00 List-Id: On Oct 31, 6:47=A0pm, Shark8 wrote: > Ah, if you think that'll trigger "drowning in parentheses"-fear then > you should probably stay away from LISP. I do. On the subject of LISP, I saw a great talk recently on Clojure (think LISP on JVM) containing what is now one of my all time favourite slides: http://blog.fogus.me/2010/10/25/fertile-ground-the-roots-of-clojure/ Go to slide 21 (of 75). > As for a better syntax, I'm not sure; but then again I'm not sure that > an "x:=3D y if b else z"-style of expression is actually needed given > that we have declare-blocks. Are loop statements actually needed given the presence of conditional statements and goto statements? :) Phil