Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Does go have a return value ?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Don Geddis  
View profile  
 More options Nov 30 2009, 1:24 pm
Newsgroups: comp.lang.lisp
From: Don Geddis <d...@geddis.org>
Date: Mon, 30 Nov 2009 10:24:55 -0800
Local: Mon, Nov 30 2009 1:24 pm
Subject: Re: Does go have a return value ?
Spiros Bousbouras <spi...@gmail.com> wrote on Mon, 30 Nov 2009:

> On Mon, 30 Nov 2009 03:31:14 +0000 (UTC) Kaz Kylheku <kkylh...@gmail.com> wrote:
>> Why would something that doesn't return have a return value?

> Since the vast majority of Lisp forms return a value for reasons of
> uniformity perhaps?

But GO doesn't return at all.  How could it possibly return a value, if
it never returns?

> To make the language more functional ?

Could you sketch your idea of any code at all, that could even notice?
Let's say in one implementation, GO's "return value" is defined to be T.
And in another, GO's "return value" is defined to be NIL.

Please explain how you would ever be able to tell which was which.

        -- Don
___________________________________________________________________________ ____
Don Geddis                  http://don.geddis.org/               d...@geddis.org
Everybody wants to go to heaven, but nobody wants to die.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.