comp.lang.ada
 help / color / mirror / Atom feed
From: db@lfcs.ed.ac.uk (Dave Berry)
Subject: Re: First Class Routines [Not long this time]
Date: 14 Mar 89 18:44:44 GMT	[thread overview]
Message-ID: <1578@etive.ed.ac.uk> (raw)
In-Reply-To: 118@eiffel.UUCP

In article <118@eiffel.UUCP> bertrand@eiffel.UUCP (Bertrand Meyer) writes:
>    First-class functions are great in [...] modern functional languages,
>especially Robin Milner's ML and David Turner's Miranda.
>    [...]
>    One way to summarize this discussion is to say that I do not know of any
>good way to reconcile the following three language traits:
>
>    1. Routine arguments (in the above sense, i.e. routine arguments to
>            routines).
>    2. Static type checking.
>    3. A language design that makes it possible to have separate
>            compilation of modules.

Standard ML supports all three of these requirements.  I believe Miranda
does as well.  The separate compilation schemes used in New Jersey ML
and Poly/ML are rather different from those used by conventional
languages, but this is mainly because ML is an interactive language,
not because of the static type checking.

Perhaps the problem is harder if you have type parameterisation instead
of (or as well as) universal polymorphism?

>    More generally, the problem is one of language design.

I think that routine arguments combine rather nicely with the other
features of eiffel, at least what I've seen of it (a few journal articles).
But it's your language, not mine.  Is your book available in the U.K.,
by the way?

Follow-ups to comp.lang.eiffel, I should think.

Dave Berry,	Laboratory for Foundations of Computer Science, Edinburgh.
		db%lfcs.ed.ac.uk@nss.cs.ucl.ac.uk
		<Atlantic Ocean>!mcvax!ukc!lfcs!db

  parent reply	other threads:[~1989-03-14 18:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <114@eiffel.UUCP>
     [not found] ` <112@eiffel.UUCP>
     [not found]   ` <1297@wasatch.UUCP>
1989-03-12  7:30     ` First Class Routines [Long again] Bertrand Meyer
1989-03-12 19:04       ` Pierre Jouvelot
1989-03-14  1:12       ` G. Ewing
1989-03-14 18:44       ` Dave Berry [this message]
1989-03-16 19:30       ` Henk Cazemier
replies disabled

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