Re: Topification [Was: Arglist I/O [Was: Angle quotes and pointy brackets]]

2004-12-07 Thread Matthew Walton
Austin Hastings wrote: I'll guess that you're pointing at .:send_one($_); Which supposedly uses "topic" to resolve .:send_one into $this.send_one. If that works, then I'm happy -- I like being able to control topic and $_ differently. But if C changes topic, then what? OUTER::.:send_one($_); Yu

Re: iterators and functions (and lists)

2004-12-07 Thread Matthew Walton
Larry Wall wrote: On Sun, Dec 05, 2004 at 12:05:46AM +, Matthew Walton wrote: : I'm sorry, but from a C++ background, overriding postcircumfix:<( )> : feels far more natural to me than setting 'is default' on some method. That only works for disambiguation if you know

Re: S05 question

2004-12-09 Thread Matthew Walton
Larry Wall wrote: I'm still thinking about what «...» might mean, if anything. Bonus points for interpolative and/or word-splitty. I'm perhaps not being entirely serious, but if you want something word-splitty and interpolative, how about this (which may cause unwanted physiological side effects

Re: iterators and functions (and lists)

2004-12-10 Thread Matthew Walton
Michele Dondi wrote: On Sun, 5 Dec 2004, Matthew Walton wrote: At least we had the sense to call them subroutines instead of functions. Of course, that also upset the mathematicians, who wanted to call them functions anyway. Go figure. That might be because the mathematicians haven't heard

Re: Making control variables local in a loop statement

2005-01-14 Thread Matthew Walton
Austin Hastings wrote: David Storrs wrote: On Thu, Jan 13, 2005 at 07:35:19PM -0500, Joe Gottman wrote: In Perl5, given code like for (my $n = 0; $n < 10; ++$n) {.} the control variable $n will be local to the for loop. In the equivalent Perl6 code loop my $n = 0; $n < 10; ++$n {.} $n

Re: CLI signature?

2005-02-05 Thread Matthew Walton
Juerd wrote: This probably goes against everything a shell based platform wants, but would it be possible to give the program a sub-like signature? I ask this after another painful session of forgetting how things work, reading Getopt::Long's documentation. signature ( Rule $pattern,

Re: Perl 6 Summary for 2005-01-31 through 2004-02-8

2005-02-09 Thread Matthew Walton
Michele Dondi wrote: On Tue, 8 Feb 2005, Matt Fowles wrote: pipe dreams Juerd wondered if he could mix = and ==> in a sane way. The answer appears to be no. Once you bring in ==> you should stick with it. Huh?!? It doesn't seem to me that the answer is 'no'. In fact C<< ==> >> is supposed

Re: Pop a Hash?

2005-02-09 Thread Matthew Walton
Rod Adams wrote: Does ($k, $v) <== pop %hash; or ($k, $v) <== %hash.pop; make sense to anyone except me? Makes sense to me. Although I would be more inclined to think of pop as returning a pair - but does a pair in list context turn into a list of key, value? If so then the above makes lots of se

Re: Junctive puzzles.

2005-02-09 Thread Matthew Walton
Matt Fowles wrote: All~ On Tue, 08 Feb 2005 17:51:24 +0100, Miroslav Silovic <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: Well, we see the same kind of thing with standard interval arithmetic: (-1, 1) * (-1, 1) = (-1, 1) (-1, 1) ** 2 = [0, 1) The reason that junctions behave this way is

Re: Junctive puzzles.

2005-02-10 Thread Matthew Walton
Matt Fowles wrote: This is Just Wrong, IMO. How confusing is it going to be to find that calling is_prime($x) modifies the value of $x despite it being a very simple test operation which appears to have no side effects? As far as I can see it, in the example, it's perfectly logical for is_prime($x)

Re: should we change [^a-z] to <-[a..z]> instead of <-[a-z]>?

2005-04-15 Thread Matthew Walton
> > even sillier question: > if <[a.z]> matches "a", "." and "z" > and <[a...]> matches all characters from "a" including (for some > definition of 'all') > > how will be range \x21 .. \x2e written? > <[!..\.]>? (i.e. "." escaped?) > I was assuming from Larry's mail that <[a...]> would parse as

Re: [pugs]weird thing with say ++$

2005-04-21 Thread Matthew Walton
> On Thu, Apr 21, 2005 at 11:45:27AM +0200, Paul Johnson wrote: > It certainly makes more sense to me that the answer would be 2 2. But > however it ends up, so long as we know what the answer will be, we can > utilize it effectively in our programs. The trick with this construct usually in C is

Re: ^method ?

2005-05-15 Thread Matthew Walton
. On 15 May 2005, at 16:17, Rob Kinyon wrote: Right now, P6 has $?SELF and I'm saying that instead of using $?SELF, we should use $self wherever $?SELF would be used. $_ is still the topic and would be the default invocant if you have .method($foo). What I'm saying is that you can have method ( Int

Re: ^method ?

2005-05-16 Thread Matthew Walton
> On 15/05/05 22:48 +0100, Matthew Walton wrote: > I don't think that is what Rob is saying at all. It wasn't aimed entirely at Rob. I have a bad habit on mailing lists of vaguely replying to the entire thread without remembering who said what and being too lazy to

Re: ./method

2005-06-21 Thread Matthew Zimmerman
#x27;s decision on this. I don't think further discussing this is really fruitful, as it has already been discussed more than is good for us. Fair point. I mean no offense, nor do I wish to beat a dead horse. I just want to make sure it's dead, instead of merely resting. -- Matt Matthew Zimmerman Interdisciplinary Biophysics, University of Virginia http://www.people.virginia.edu/~mdz4c/

Re: ./method

2005-06-21 Thread Matthew Zimmerman
[Sorry, sent this to the wrong list by mistake.] Matthew Zimmerman wrote: Juerd wrote: Kurt skribis 2005-06-20 19:46 (-0400): On 6/20/05, Juerd wrote: Or you can just get your "self" with a simple (module that does) macro self () { '$?SELF' } And you c

Re: UTF-8 and Unicode FAQ, demos

2002-11-01 Thread Matthew Zimmerman
and I actually want to use one of these ops, do I put 0xAB op 0xBB or 0xC2AB op 0xC2BB ? -- Matt, who'd never thought he'd have to do hex dumps to debug his Perl programs ;) -- Matthew Zimmerman Interdisciplinary Biophysics, University of Virginia http://www.peop

Re: UTF-8 and Unicode FAQ, demos

2002-11-02 Thread Matthew Zimmerman
n Latin-1, UTF-8, or will Perl 6 provide some sort of translation mechanism, like specifying the charset on the command line? -- Matt Matthew Zimmerman Interdisciplinary Biophysics, University of Virginia http://www.people.virginia.edu/~mdz4c/

Re: UTF-8 and Unicode FAQ, demos

2002-11-04 Thread Matthew Zimmerman
On Sun, Nov 03, 2002 at 09:41:44AM -, Rafael Garcia-Suarez wrote: > Matthew Zimmerman wrote in perl.perl6.language : > > > > So let me make my original question a little more > > general: are Perl 6 source files encoded in Latin-1, > > UTF-8, or will Perl 6 provi

Re: UTF-8 and Unicode FAQ, demos

2002-11-05 Thread Matthew Zimmerman
org' or that's the real Larry. Looks like he just switched to mutt and has a little bit of config tweaking yet to do. ;) -- Matt Matthew Zimmerman Interdisciplinary Biophysics, University of Virginia http://www.people.virginia.edu/~mdz4c/

Re: threads?

2010-10-12 Thread Matthew Walton
Damian, I use threads in C++ a lot in my day to day job. We use an in-house library which isn't much more than a thread class which you inherit from and give a Run method to, and a load of locks of various (sometimes ill-defined) kinds. Let me say: it's not good. Threads with semaphores and mutexe

Re: STDOUT = WWW

2011-07-08 Thread Matthew Walton
On 8 July 2011 12:28, Rajeev Prasad wrote: > will apps made for one distribution of Rakudo work with another? Yes, provided that the versions of Rakudo used are sufficiently compatible (one might have newer features that you used that another one hasn't updated to include yet, for example), and t

Re: NQP JVM prototype faster than Perl 5

2013-02-02 Thread Matthew Wilson
Did you mean to use $z in the say output of the nqp and perl versions of the microbenchmark, or did you mean to run it twice? On Sat, Feb 2, 2013 at 10:43 AM, Nicholas Clark wrote: > This is surprising, interesting and pleasing... > > There's some example NQP code to time calculating Fibonacci

Re: Licensing: Perl 6 specification and test suite

2013-11-05 Thread Matthew Wilson
frettled, Right, it's just the AL2 requires you to thoroughly rename the project's main name(s) if you redistribute a modified version.. -Matthew On Tue, Nov 5, 2013 at 7:21 AM, Jan Ingvoldstad wrote: > On Tue, Nov 5, 2013 at 3:36 PM, Moritz Lenz wrote: > >> I have

Fwd: [Boston.pm] Tech Meeting Tuesday

2013-12-06 Thread Matthew Wilson
FYI -- Forwarded message -- From: "Bill Ricker" Date: Dec 6, 2013 6:25 PM Subject: [Boston.pm] Tech Meeting Tuesday To: "Boston Perl Mongers" , "Boston Perl Mongers (announce)" Cc: Tuesday December 10, 2013 E51-376 Tim King - Benchmarking Perl6 vs Perl5 * Perl 6's suitability fo

<    1   2