Re: RFC 206 (v1) Array: @#arr for getting the dimensions of an array

2000-09-08 Thread Jeremy Howard
[EMAIL PROTECTED] wrote: > Perl6 RFC Librarian wrote: > > > This RFC proposes using @#array, analogous to $#array, to get the list of > > upper bounds for a multidimensional array @array. The length of @#array > > would indicate the dimensionality of @array. > > That's fine. This RFC does not seem

Re: RFC 203 (v1) Arrays: Notation for declaring and creating arrays

2000-09-08 Thread Jeremy Howard
[EMAIL PROTECTED] wrote: > Perl6 RFC Librarian wrote: > > > The bounds of an array or list can be specified at run time, of course: > > > > my int @t1 :bounds(@dimList) = getFromSomeplace(); > > Hm, I think some clarification would be good. I'd imagine three cases: > (1) getFromSomeplace retur

Re: RFC 203 (v1) Arrays: Notation for declaring and creating arrays

2000-09-08 Thread c . soeller
Perl6 RFC Librarian wrote: > The bounds of an array or list can be specified at run time, of course: > > my int @t1 :bounds(@dimList) = getFromSomeplace(); Hm, I think some clarification would be good. I'd imagine three cases: (1) getFromSomeplace returns an untyped and unbounded LOL. In that

Re: RFC 206 (v1) Array: @#arr for getting the dimensions of an array

2000-09-08 Thread c . soeller
Perl6 RFC Librarian wrote: > This RFC proposes using @#array, analogous to $#array, to get the list of > upper bounds for a multidimensional array @array. The length of @#array > would indicate the dimensionality of @array. That's fine. This RFC does not seem to touch on the question what $#arra

Re: RFC 82 (v3) Arrays: Apply operators element-wise in a list context

2000-09-08 Thread Jeremy Howard
[EMAIL PROTECTED] > Nathan Wiger wrote: > > > > > This RFC proposes that operators in a list context should be applied > > > element-wise to the elements of their arguments: > > > > > > @d = @b * @c; # Returns (2,8,18) > > > > > > If the lists are not of equal length, an error is raised. > > >

Re: RFC 82 (v3) Arrays: Apply operators element-wise in a list context

2000-09-08 Thread c . soeller
Nathan Wiger wrote: > > > This RFC proposes that operators in a list context should be applied > > element-wise to the elements of their arguments: > > > > @d = @b * @c; # Returns (2,8,18) > > > > If the lists are not of equal length, an error is raised. > > I've been watching this RFC for a

Re: RFC 82 (v3) Arrays: Apply operators element-wise in a list context

2000-09-08 Thread Nathan Wiger
> This RFC proposes that operators in a list context should be applied > element-wise to the elements of their arguments: > > @d = @b * @c; # Returns (2,8,18) > > If the lists are not of equal length, an error is raised. I've been watching this RFC for a while. I would hesitate to change th

NOTE: RFC 202..207

2000-09-08 Thread ziggy
Due to a processing hiccup, a some of the last few RFCs were announced twice, with different numbering. For the record, this is the correct numbering of RFC 202 through 207: 202 Arrays: Overview of multidimensional array RFCs 203 Arrays: Notation for declaring and creati

RFC 207 (v1) Array: Efficient Array Loops

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Array: Efficient Array Loops =head1 VERSION Maintainer: Buddha Buck <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 207 Version: 1 Status: Developing =head1 A

RFC 206 (v1) Array: @#arr for getting the dimensions of an array

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Array: @#arr for getting the dimensions of an array =head1 VERSION Maintainer: Buddha Buck <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 206 Version: 1 Statu

RFC 205 (v1) Arrays: New operator ';' for creating array slices

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: New operator ';' for creating array slices =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 205 Version: 1 Stat

RFC 204 (v1) Array: Use list reference for multidimensional array access

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Array: Use list reference for multidimensional array access =head1 VERSION Maintainer: Buddha Buck <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 204 Version: 1

RFC 203 (v1) Arrays: Notation for declaring and creating arrays

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Notation for declaring and creating arrays =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 203 Version: 1 Stat

RFC 202 (v1) Arrays: Overview of multidimensional array RFCs (RFC 203 through RFC 207)

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Overview of multidimensional array RFCs (RFC 203 through RFC 207) =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number:

RFC 204 (v1) Arrays: Notation for declaring and creating arrays

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Notation for declaring and creating arrays =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 204 Version: 1 Stat

RFC 203 (v1) Arrays: Overview of multidimensional array RFCs (RFC 203 through RFC 207)

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Overview of multidimensional array RFCs (RFC 203 through RFC 207) =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number:

RFC 202 (v1) Arrays: Notation for declaring and creating arrays

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Notation for declaring and creating arrays =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 202 Version: 1 Stat

Re: RFC 90 (v3) Arrays: Builtins: merge() and demerge()

2000-09-08 Thread Jeremy Howard
Matthew Wickline wrote: > (not on list, just tossing this in for discussion) > OK--we'll keep you cc'd in on this discussion. > > RFC 90 (v3) wrote: > -> Both C and do not make > -> a copy of the elements of their arguments; > -> they simply create an alias to them: > -> > 1> @a = (1,3,5); > 2

Re: RFC 90 (v3) Arrays: Builtins: merge() and demerge()

2000-09-08 Thread Matthew Wickline
(not on list, just tossing this in for discussion) RFC 90 (v3) wrote: -> Both C and do not make -> a copy of the elements of their arguments; -> they simply create an alias to them: -> 1> @a = (1,3,5); 2> @b = (2,4,6); 3> @merged_list = merge(@a,@b); # (1,2,3,4,5,6) 4> $merged_list[1

RFC 82 (v3) Arrays: Apply operators element-wise in a list context

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Apply operators element-wise in a list context =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 10 August 2000 Last Modified: 8 September 2000 Mailing List: [EMAIL PROTECTE

RFC 91 (v3) Builtins: part and flatten

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Builtins: part and flatten =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 10 August 2000 Last Modified: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 91 Version: 3

RFC 90 (v3) Arrays: Builtins: merge() and demerge()

2000-09-08 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Arrays: Builtins: merge() and demerge() =head1 VERSION Maintainer: Jeremy Howard <[EMAIL PROTECTED]> Date: 10 August 2000 Last Modified: 8 September 2000 Mailing List: [EMAIL PROTECTED] Number: 90

Re: RFC 196 (v1) More direct syntax for hashes

2000-09-08 Thread Bart Lateur
On Thu, 7 Sep 2000 20:56:47 -0400, Michael G Schwern wrote: >> C should reset the hash iterator, instead of calling >> C or C as is currently the case. > >Sounds good, except the name. reset() already does something. >Currently, reset() is for clearing large swaths of global variables (a >dubiou

Re: RFC 196 (v1) More direct syntax for hashes

2000-09-08 Thread Bart Lateur
On Wed, 6 Sep 2000 22:58:05 -0400, John Porter wrote: > keys %hash = @things; > >is defined as being equivalent to > > @hash{ @things } = (); Two more details to think about: %hash = ( b => 'beta', d => 'delta' ); keys %hash = qw(a b c); What happens to the values t