In <[email protected]>, on 04/24/2014
at 05:36 PM, Ted MacNEIL <[email protected]> said:
>Early compiler writers used the term for languages that used 'call by
>name' sub-routines (such as FORTRAN) when something like an
>expression was passed.
That's not call by name. Thunks were invented for ALGOL 60, which did
have call by name.
A typical example is an integartion routine where one of the
parameters is the integrand expression. Every time that the subroutine
uses that parameter it re-evaluates the integrand.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN