Search   Feed   Browse   Add
Feed items 1 - 10 of 38 for June 2008

Re: Should C<grep> and C<reverse> work in C<Any> by Larry Wall - June 30, 2008

On Mon, Jun 30, 2008 at 07:25:11AM -0500, Patrick R. Michaud wrote:: So my question is really whether or not we consider grep and : reverse to be universal methods in this sense also, so that: C< $x.grep(...) > and C< $x.reverse > will work even if $x : isn&39;t a value that normally does list-type operations. : : I&39;m suspecting that the answer is "yes, they are universal",: but wanted to confirm it.Confirmed. (Though note that Str.reverse probably...
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29339.html

Re: Should C<grep> and C<reverse> work in C<Any> by Patrick R. Michaud - June 30, 2008

On Mon, Jun 30, 2008 at 07:25:11AM -0500, Patrick R. Michaud wrote:> Moritz is correct -- in order to get (&39;foo&39;).join(&39;:&39;) to work as> people will expect, it was decided to define "universal" methods> in the Any class as part of the prelude 1.I forgot to include the reference link:1. http:groups.google.comgroupperl.perl6.compilermsgacf1cfbb16b998cfPm
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29338.html

Re: Should C<grep> and C<reverse> work in C<Any> by Patrick R. Michaud - June 30, 2008

On Mon, Jun 30, 2008 at 01:43:11PM +0200, Moritz Lenz wrote:> Ovid wrote:> > --- On Sun, 29608, Patrick R. Michaud <pmichaudpobox.com> wrote:> > > >> Do C<grep> and C<reverse> act like the> >> C<join> method, in that> >> they work for C<Any> object and not just objects of> >> type C<List>> >> > >> In other words,, should C< $x.grep(...) > work even> >> if $x isn&39;t...
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29337.html

Re: Should C<grep> and C<reverse> work in C<Any> by Trey Harris - June 30, 2008

In a message dated Mon, 30 Jun 2008, Ovid writes:> I just noticed you included &39;reverse&39; in that list of methods. I > thought junctions were inherently unordered, thus making reverse > kind of useless (which leads me even more to believe that I&39;ve > misunderstood the question).Yes--Junction is a sister of Any, not a subtype of Any. That&39;s how you get the autothreading--accept Any or a subtype thereof, and when you get a junction, you autothread. Accept Junction or...
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29336.html

Re: Should C<grep> and C<reverse> work in C<Any> by Moritz Lenz - June 30, 2008

Ovid wrote:> --- On Sun, 29608, Patrick R. Michaud <pmichaudpobox.com> wrote:> >> Do C<grep> and C<reverse> act like the>> C<join> method, in that>> they work for C<Any> object and not just objects of>> type C<List>>> >> In other words,, should C< $x.grep(...) > work even>> if $x isn&39;t normally a list type> > If I understand you correctly, I think you&39;re asking if grep and map can be applied..
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29335.html

Re: Should C<grep> and C<reverse> work in C<Any> by Ovid - June 30, 2008

--- On Mon, 30608, Ovid <publiustemp-perl6language2yahoo.com> wrote:> --- On Sun, 29608, Patrick R. Michaud> <pmichaudpobox.com> wrote:> > > Do C<grep> and C<reverse> act like the> > C<join> method, in that> > they work for C<Any> object and not just objects> of> > type C<List>> > > > In other words,, should C< $x.grep(...) > work> even> > if $x isn&39;t normally a list type> > If I..
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29334.html

Re: Should C<grep> and C<reverse> work in C<Any> by Ovid - June 30, 2008

--- On Sun, 29608, Patrick R. Michaud <pmichaudpobox.com> wrote:> Do C<grep> and C<reverse> act like the> C<join> method, in that> they work for C<Any> object and not just objects of> type C<List>> > In other words,, should C< $x.grep(...) > work even> if $x isn&39;t normally a list typeIf I understand you correctly, I think you&39;re asking if grep and map can be applied to junctions I would say yes. We don&39;t want to mutate..
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29333.html

Should C<grep> and C<reverse> work in C<Any> by Patrick R. Michaud - June 29, 2008

Do C<grep> and C<reverse> act like the C<join> method, in thatthey work for C<Any> object and not just objects of type C<List>In other words,, should C< $x.grep(...) > work even if$x isn&39;t normally a list typePm
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29332.html

Re: Rakudo test miscellanea by TSa - June 29, 2008

HaloO,On Thursday, 26. June 2008 18:46:25 Larry Wall wrote:> Neither "is" nor "does" is quite right here, because the mathematicians> have seen fit to confuse representation semantics with value semantics. :)Hmm, but the uppercase types should hide the representation type.IOW, there&39;s only one Int but int8 to int64 or so. Same with Numand num32 to num128 and perhaps num8 and num16 in the OpenGL world.> I think what we want is something more like>> Int..
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29331.html

Re: Rakudo test miscellanea by Aristotle Pagaltzis - June 28, 2008

Aristotle Pagaltzis <pagaltzisgmx.de> 2008-06-29 02:05:> repeat of statements made days agoSorry, I was only just catching up and didn’t notice this orphansubthread had siblings, where the point was already covered.Regards,-- Aristotle Pagaltzis <http:plasmasturm.org>
http://www.nntp.perl.org/group/perl.perl6.language/2008/06/msg29330.html
Available Archives
- June (38 items)
- July (2 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact