Andrew Bernard wrote:
Yes, it is quite muddy!
I just took a look at the Guile 2.0 reference manual. Generally they use
procedure but the book also uses the term function interchangeably further on
inside, so I suppose it does not matter so much! No doubt the book is written
by a large team of
Wols Lists wrote:
On 18/04/15 22:11, PMA wrote:
Aha. So the improper-er their code got, the tougher time
compilers had trying to -- as Martin says -- "throw it out".
All told, is there now any real need _not_ to use the terms
"function" and "procedure" interchangeably? That is, any
real need
Yes, it is quite muddy!
I just took a look at the Guile 2.0 reference manual. Generally they use
procedure but the book also uses the term function interchangeably further on
inside, so I suppose it does not matter so much! No doubt the book is written
by a large team of authors.
An argument f
Am 19. April 2015 10:35:08 MESZ, schrieb Andrew Bernard
:
>Well if you consult the bible Structure and Interpretation of Computer
>Programs by Abelson, Sussman, and Sussman, the term function is
>strictly reserved for mathematical objects, and procedure is uniformly
>used for what people loosely
Well if you consult the bible Structure and Interpretation of Computer Programs
by Abelson, Sussman, and Sussman, the term function is strictly reserved for
mathematical objects, and procedure is uniformly used for what people loosely
call functions.
As to the discussion about the distinction b
Pascal, as many other languages, has its roots in Algol 60.
In the latter, there was only the « procedure » keyword.
You just prefixed the definition with a type to make it a function, such as:
integer procedure foo (…)
begin
…
foo := …;
On 18/04/15 22:11, PMA wrote:
> Aha. So the improper-er their code got, the tougher time
> compilers had trying to -- as Martin says -- "throw it out".
>
> All told, is there now any real need _not_ to use the terms
> "function" and "procedure" interchangeably? That is, any
> real need to try to
Wols Lists wrote:
On 18/04/15 19:56, PMA wrote:
AFAIK, of our major ancestor languages, only Pascal insisted on a
literal working
function-vs-procedure distinction. Did Wirth ever defend this insistence
(as more
than a track-keeping enforcer re value-outputting vs
non-value-outputting code)?
A
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/04/15 21:28, PMA wrote:
> J Martin Rushton wrote:
>
>
>
> FORTRAN also insists on the distinction (at least officially). In
> FORTRAN you CALL procedures as a single statement whereas you
> simply use functions in an expression. If you t
On 18/04/15 19:56, PMA wrote:
> AFAIK, of our major ancestor languages, only Pascal insisted on a
> literal working
> function-vs-procedure distinction. Did Wirth ever defend this insistence
> (as more
> than a track-keeping enforcer re value-outputting vs
> non-value-outputting code)?
Actually, s
J Martin Rushton wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/04/15 20:41, PMA wrote:
PMA wrote:
Jacques Menu wrote:
Hello,
Yes, historically a disctinction was made between the «
sub-programs » that return a value and those that don’t, but
the Scheme docs seem to use the ter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 18/04/15 20:41, PMA wrote:
> PMA wrote:
>> Jacques Menu wrote:
>>> Hello,
>>>
>>> Yes, historically a disctinction was made between the «
>>> sub-programs » that return a value and those that don’t, but
>>> the Scheme docs seem to use the terms f
PMA wrote:
Jacques Menu wrote:
Hello,
Yes, historically a disctinction was made between the « sub-programs »
that return a value and those that don’t, but the Scheme docs seem to
use the terms function and procedure interchangeably.
In C++, everything is a function : a procedure is merely a fu
Jacques Menu wrote:
Hello,
Yes, historically a disctinction was made between the « sub-programs » that
return a value and those that don’t, but the Scheme docs seem to use the terms
function and procedure interchangeably.
In C++, everything is a function : a procedure is merely a function tha
Hi,
On Sat, Apr 18, 2015 at 11:57 AM, Jacques Menu
wrote:
> Hello,
>
> Yes, historically a disctinction was made between the « sub-programs »
> that return a value and those that don’t, but the Scheme docs seem to use
> the terms function and procedure interchangeably.
>
>
And the primitive-proc
Hello,
Yes, historically a disctinction was made between the « sub-programs » that
return a value and those that don’t, but the Scheme docs seem to use the terms
function and procedure interchangeably.
In C++, everything is a function : a procedure is merely a function that
returns a value of
> On Apr 18, 2015, at 11:21 AM, Urs Liska wrote:
>
> So the choice of these names is actually an inconsistency in LilyPond's
> terminology?
>
> I'm asking this because I have just completed a tutorial about
> define-music-function and its siblings, and I realized that I used the terms
> funct
On Sat, Apr 18, 2015 at 4:51 AM, Urs Liska wrote:
> Hi all,
>
> I just stumbled over a terminology issue: are "procedure" and "function"
> synonyms in Scheme or do they refer to different things?
>
> From my earliest experiences with programming I'd recall the difference to
> be that functions re
2015-04-18 17:47 GMT+02:00 Richard Shann :
> On Sat, 2015-04-18 at 17:21 +0200, Urs Liska wrote:
>> Am 18.04.2015 um 15:08 schrieb Richard Shann:
>> > On Sat, 2015-04-18 at 13:11 +0200, Urs Liska wrote:
>> >>
>> >>
>> >> Am 18. April 2015 12:15:08 MESZ, schrieb Richard Shann
>> >> :
>> >>> On Sat,
On 18/04/15 16:21, Urs Liska wrote:
> So the choice of these names is actually an inconsistency in LilyPond's
> terminology?
>
> I'm asking this because I have just completed a tutorial about
> define-music-function and its siblings, and I realized that I used the
> terms function and procedure in
On Sat, 2015-04-18 at 17:21 +0200, Urs Liska wrote:
> Am 18.04.2015 um 15:08 schrieb Richard Shann:
> > On Sat, 2015-04-18 at 13:11 +0200, Urs Liska wrote:
> >>
> >>
> >> Am 18. April 2015 12:15:08 MESZ, schrieb Richard Shann
> >> :
> >>> On Sat, 2015-04-18 at 11:51 +0200, Urs Liska wrote:
> H
Am 18.04.2015 um 15:08 schrieb Richard Shann:
On Sat, 2015-04-18 at 13:11 +0200, Urs Liska wrote:
Am 18. April 2015 12:15:08 MESZ, schrieb Richard Shann
:
On Sat, 2015-04-18 at 11:51 +0200, Urs Liska wrote:
Hi all,
I just stumbled over a terminology issue: are "procedure" and
"function"
s
> On 18 Apr 2015, at 13:06, Brian Barker wrote:
>
> At 12:55 18/04/2015 +0100, Michael Hendry wrote:
>> I think it was Pascal that introduced a distinction between a Procedure
>> (which does something without returning a value) and a Function (which does
>> something AND returns a value).
>
>
On Sat, 2015-04-18 at 13:11 +0200, Urs Liska wrote:
>
>
> Am 18. April 2015 12:15:08 MESZ, schrieb Richard Shann
> :
> >On Sat, 2015-04-18 at 11:51 +0200, Urs Liska wrote:
> >> Hi all,
> >>
> >> I just stumbled over a terminology issue: are "procedure" and
> >"function"
> >> synonyms in Scheme
At 12:55 18/04/2015 +0100, Michael Hendry wrote:
I think it was Pascal that introduced a distinction between a
Procedure (which does something without returning a value) and a
Function (which does something AND returns a value).
Really?!
Pascal: published 1970
Fortran II (included SUBROUTINE
> On 18 Apr 2015, at 11:15, Richard Shann wrote:
>
> On Sat, 2015-04-18 at 11:51 +0200, Urs Liska wrote:
>> Hi all,
>>
>> I just stumbled over a terminology issue: are "procedure" and "function"
>> synonyms in Scheme or do they refer to different things?
> The Guile reference manual uses the t
Am 18. April 2015 12:15:08 MESZ, schrieb Richard Shann
:
>On Sat, 2015-04-18 at 11:51 +0200, Urs Liska wrote:
>> Hi all,
>>
>> I just stumbled over a terminology issue: are "procedure" and
>"function"
>> synonyms in Scheme or do they refer to different things?
>The Guile reference manual uses
On Sat, 2015-04-18 at 11:51 +0200, Urs Liska wrote:
> Hi all,
>
> I just stumbled over a terminology issue: are "procedure" and "function"
> synonyms in Scheme or do they refer to different things?
The Guile reference manual uses the term procedure
>
> From my earliest experiences with programm
Hi all,
I just stumbled over a terminology issue: are "procedure" and "function"
synonyms in Scheme or do they refer to different things?
From my earliest experiences with programming I'd recall the difference
to be that functions return a value and procedures don't. But that's
clearly not t
29 matches
Mail list logo