On Fri, Dec 16, 2011 at 3:15 PM, Matthias Felleisen wrote:
>
> Does Racket blindly inherit from Scheme because of history?
>
> No, Racketeers choose what to take over and what to leave behind.
>
Great, I'm waiting for the fruits of the labour with great anticipation and
gratitude ;)
>
> Why are
On Thu, Dec 15, 2011 at 3:32 PM, Neil Toronto wrote:
> On 12/15/2011 05:03 AM, Markku Rontu wrote:
>
>> Named return values, ah the dream of symmetry.
>>
>
> I think my mad-scientist advisor did something like this once. I think it
> would be awesome to have this, and of course keyword arguments,
At Fri, 16 Dec 2011 14:45:51 +0200, Markku Rontu wrote:
> Hmm, I don't get the logic. Ignored single return value is not a bug and is
> ok (because that's how things happened to be in that case in the first
> place) but ignored multiple-value is a bug (because that's how things
> happened to be in
Does Racket blindly inherit from Scheme because of history?
No, Racketeers choose what to take over and what to leave behind.
Why are multiple values useful?
Multiple values enable a smooth functional style where pedestrian programmers
may have to use clumsy package-unpackage or, worse, im
On Fri, Dec 16, 2011 at 2:22 PM, Neil Van Dyke wrote:
> Zayr Okale wrote at 12/16/2011 06:52 AM:
>
> In the simplest cases in CL I can ignore extra values for free (without
>> extra wrappers or any other code clutter). In Racket I cannot, and this is
>> what prompted my question: why not do it t
Zayr Okale wrote at 12/16/2011 06:52 AM:
In the simplest cases in CL I can ignore extra values for free
(without extra wrappers or any other code clutter). In Racket I
cannot, and this is what prompted my question: why not do it the CL way?
An ignored value of a multiple-value return could be
On 15/12/2011 21:17, Tomasz Rola wrote:
On Thu, 15 Dec 2011, Zayr Okale wrote:
I even do understand what multiple return values are useful for in CL: "okay,
the function calculates other potentially useful values anyway, so no reason
not to make them available".
Unfortunately, this scenario do
On Thu, Dec 15, 2011 at 5:32 PM, Neil Toronto wrote:
> On 12/15/2011 05:03 AM, Markku Rontu wrote:
>>
>> Named return values, ah the dream of symmetry.
>
> I think my mad-scientist advisor did something like this once. I think it
> would be awesome to have this, and of course keyword arguments, as
On 12/15/2011 05:03 AM, Markku Rontu wrote:
Named return values, ah the dream of symmetry.
I think my mad-scientist advisor did something like this once. I think
it would be awesome to have this, and of course keyword arguments, as
first-class constructs in Racket.
(As far as I understand,
On Wed, 14 Dec 2011, Zayr Okale wrote:
> Hello, everyone.
>
> Can someone please explain to me multiple return values? Not what it does,
> I understand that much, but what is this feature for? In what situations is
> it useful?
I am not sure how much usable values/call-with-values are in Scheme.
On Thu, 15 Dec 2011, Zayr Okale wrote:
> I even do understand what multiple return values are useful for in CL: "okay,
> the function calculates other potentially useful values anyway, so no reason
> not to make them available".
>
> Unfortunately, this scenario doesn't apply to Racket. And this i
On 12/15/2011 12:39 PM, Zayr Okale wrote:
Unfortunately, this scenario doesn't apply to Racket. And this is exactly what
prompted my question. Since one of the reasons behind multiple return values
is, as David Van
Horn pointed out, symmetry with multiple input values (function arguments),
th
Named return values, ah the dream of symmetry.
-Markku
- Reply message -
From: "Zayr Okale"
To: "Tomasz Rola"
Cc:
Subject: [racket] Multiple return values
Date: Thu, Dec 15, 2011 13:39
On 14/12/2011 21:20, Tomasz Rola wrote:
> On Wed, 14 Dec 2011, Zayr
On 14/12/2011 21:20, Tomasz Rola wrote:
On Wed, 14 Dec 2011, Zayr Okale wrote:
Hello, everyone.
Can someone please explain to me multiple return values? Not what it does,
I understand that much, but what is this feature for? In what situations is
it useful?
I am not sure how much usable value
On Dec 14, 2011, at 6:15 AM, Matthias Felleisen wrote:
>
> CPS is for old people. Be careful.
>
> See Dybvig's paper on measurable benefits (or lack thereof) for values and
> friends.
You're referring to 1994, "An efficient implementation of multiple return
values in Scheme" ?
John
smi
http://www.wisdomandwonder.com/link/1794/returning-multiple-values-in-scheme
Racket has more forms right?
On Wed, Dec 14, 2011 at 4:54 AM, Zayr Okale wrote:
> Hello, everyone.
>
> Can someone please explain to me multiple return values? Not what it does, I
> understand that much, but what is thi
r 14, 2011 7:56:15 AM GMT -05:00 US/Canada Eastern
> Subject: Re: [racket] Multiple return values
>
> On 12/14/11 5:54 AM, Zayr Okale wrote:
>> Hello, everyone.
>>
>> Can someone please explain to me multiple return values? Not what it
>> does, I understand that much,
id Van Horn"
To: users@racket-lang.org
Sent: Wednesday, December 14, 2011 7:56:15 AM GMT -05:00 US/Canada Eastern
Subject: Re: [racket] Multiple return values
On 12/14/11 5:54 AM, Zayr Okale wrote:
> Hello, everyone.
>
> Can someone please explain to me multiple return values? Not
On 12/14/11 5:54 AM, Zayr Okale wrote:
Hello, everyone.
Can someone please explain to me multiple return values? Not what it
does, I understand that much, but what is this feature for? In what
situations is it useful?
It's useful in situations where several values are the result of a
single c
Hello, everyone.
Can someone please explain to me multiple return values? Not what it does,
I understand that much, but what is this feature for? In what situations is
it useful?
_
For list-related administrative tasks:
http://lists.racket-lang.o
20 matches
Mail list logo