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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Tue, 01 May 2018 02:02:26 -0700 Organization: A noiseless patient Spider Message-ID: <87y3h3lpel.fsf@nightsong.com> References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.com> <87k1su7nag.fsf@nightsong.com> <87po2la2qt.fsf@nightsong.com> <87in8buttb.fsf@jacob-sparre.dk> <87wowqpowu.fsf@nightsong.com> <16406268-83df-4564-8855-9bd0fe9caac0@googlegroups.com> <87o9i2pkcr.fsf@nightsong.com> <87bme2oy91.fsf@nightsong.com> <877eoom26h.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="385ce2792b816f56a692583465018913"; logging-data="6655"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DHBE8Aic6B0FnBpFbpS6S" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:i3edpKmV4qNMkEe9RP+xYWjlILM= sha1:6MgIhRY7XWXkBdw9bdnlPn6Rs7Q= Xref: reader02.eternal-september.org comp.lang.ada:51875 Date: 2018-05-01T02:02:26-07:00 List-Id: "Jeffrey R. Carter" writes: > What functional language has arrays? Are there any that don't? https://hackage.haskell.org/package/array-0.5.1.0/docs/Data-Array.html http://caml.inria.fr/pub/docs/manual-ocaml/libref/Array.html etc. In practice you'd use lists or trees for many things that you'd use arrays for in other languages though. The "map" example I gave was illustrative.