Front page | perl.perl6.language |
Postings from July 2006
RE: S29 update ready
Thread Previous
|
Thread Next
From:
Darren Duncan
Date:
July 8, 2006 18:31
Subject:
RE: S29 update ready
Message ID:
p06230902c0d60c1ae2f5@[192.168.1.101]
At 6:25 PM -0700 7/8/06, Darren Duncan wrote:
>At 8:32 PM -0400 7/8/06, Joe Gottman wrote:
>>I have one minor comment about join. You should specify its behavior when
>>it is passed an empty list. Does it return undef or the empty string?
>
>I think it makes the most sense for it to return an empty string,
>which is a reasonable degenerate case of a string-join. -- Darren
>Duncan
Or to put it another way, I see string-join being like a prefix
version of the ~ operator (though with extra features), and so the
reduce rules of ~ should perhaps determine it. According to Synopsis
3, "[~]()" returns the empty string. -- Darren Duncan
Thread Previous
|
Thread Next