comp.lang.ada
 help / color / mirror / Atom feed
From: Johann Hibschman <johann@leporello.berkeley.edu>
Subject: Re: is there a FAQ?
Date: 1998/05/15
Date: 1998-05-15T00:00:00+00:00	[thread overview]
Message-ID: <mtn2cjl6h6.fsf@leporello.berkeley.edu> (raw)
In-Reply-To: 3559C828.71BF48A4@cl.cam.ac.uk


Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> writes:

> To get started:

[links snipped]

I'm also just looking into Ada.  I tried reading the FAQ, but I
couldn't find a could very basic questions answered.  Does Ada support
functional programming and closures?  I'm a bit of a language
hobbyist, and I've become quite addicted to easy temporary function
creation for mapping/reduce/etc uses.

Is there a (convenient) way to write

(map-into out-vector
          #'(lambda (x y) (+ x (sqrt y)))
          vector1 vector2)

as I would in Common Lisp?  (Or, with slight syntax changes, in ML?)

Sather iterators do this fairly well, but they're still a little
inconvenient.

From what I see, Ada has much better array syntax support, which means
I wouldn't have to write it myself, as I would have to in CL.  I'm
surprised that I'm having trouble finding an answer to this question;
it seems so basic.

- Johann




  reply	other threads:[~1998-05-15  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-13  0:00 is there a FAQ? Cristian Libardo
1998-05-13  0:00 ` Markus Kuhn
1998-05-15  0:00   ` Johann Hibschman [this message]
1998-05-15  0:00     ` Markus Kuhn
  -- strict thread matches above, loose matches on Subject: below --
1998-05-15  0:00 adam
1998-05-15  0:00 ` Brian Rogoff
     [not found]   ` <Et0xrx.798@world.std.com>
1998-05-16  0:00     ` Fergus Henderson
1998-05-16  0:00     ` Brian Rogoff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox