comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!ho
Subject: Re: Passing procedures as parameters to procedures.
Date: 4 May 93 23:44:38 GMT	[thread overview]
Message-ID: <13232@uqcspe.cs.uq.oz.au> (raw)

What amuses in this discussion, is the sub-thread about the
storage management penalties (allegedly?) imposed by procedures-
as-parameters. The amusement stems from the fact that:

********Ada(83) already requires that valid implementations pay
********an even greater penalty than that required by mere
********provedures-as-parameters.

To cut a long story short, read ``Full Functional Programming
in a Declarative Ada Dialect'', in the proceedings of the 1992
TRI-Ada conference (pp. 350-358), by P. Bailes (that's me), D.
Johnston, E. Salzman and L. Wang. The really keen can contact me
for a copy of University of Queensland Department of Computer
Science Technical Report 225 ``First Class Functions for Ada''.

The idea is that function-*valued*-functions, like in functional
programming languages (and not just procedures/functions as
parameters to procedures/functions) are avaialble in Ada through
direct (ie non-interpretive) translation into a complex of tasks.
In other words, Ada tasks require Ada implementations already to
be equipped with all the (heap etc.) storage management facilities
needed to implement a language construct much more ambitious than
this thread has so far contemplated.

The interesting question should therefore be why 9X doesn't have
function-valued-functions - sure, there are lots of sociological
etc. issues that surround a language design, but let's keep this
on a purely technical, almost Platonic, plane. (I've had a few words
with the 9X gurus at TRI-Ada about this, but to my mind inconclusively.)
--
Paul A Bailes
paul@cs.uq.oz.au

             reply	other threads:[~1993-05-04 23:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-05-04 23:44 cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!ho [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-05-10 22:56 Passing procedures as parameters to procedures Jack Dean
1993-05-06  9:39 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!darwi
1993-05-06  7:33 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!torn!
1993-05-05 21:35 cis.ohio-state.edu!news.sei.cmu.edu!ajpo.sei.cmu.edu!progers
1993-05-05 17:39 Robert Dewar
1993-05-05 17:35 Robert Dewar
1993-05-05 16:30 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!us
1993-05-05 11:40 cis.ohio-state.edu!news.sei.cmu.edu!firth
1993-05-05  9:50 cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland.
1993-05-04 22:13 John Goodsen
1993-05-04 19:39 cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!m
1993-05-04 16:41 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!ira.u
1993-05-04 16:25 Mark A Biggar
1993-05-04 15:43 Tucker Taft
1993-05-04 14:29 cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!spool.mu.edu!
1993-05-04 13:59 Tucker Taft
1993-05-04 13:45 cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!howland.
1993-05-04 13:45 cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu
1993-05-04 10:25 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!us
1993-05-03 20:36 Mark A Biggar
1993-05-03 19:07 cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!ho
replies disabled

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