RE: Mutating methods

2004-03-10 Thread matt
I was thinking along the lines of... String $foo = "hello"; $foo.scramble! print "$foo\n"; $foo = "hello" print $foo.scramble ~ "\n"; print $foo; OUTPUT (or close): elhlo hloel hello Also, along these same things.. is there a way to apply a method to all variables/objects of a certain type (e.g.

RE: Mutating methods

2004-03-12 Thread matt
Please bare with me, I do follow this list, but sporadically. What it all boils down to, obviously, is that we, as lazy programmers, want to have to type less, but still leave the code make sense when read. So to me, that should automatically throw out stuff such as C<$x = ( $foo § .a + .b + .c )

Closure/block/sub multiplier /// Win32 module for Perl6

2005-04-20 Thread Matt
gin the adventure? Specifically, how it should be organized, among other things. Thanks :), Matt Creenan -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Fwd: Re: embedding languages in Perl 6

2005-04-20 Thread Matt
I sent this to BÁRTHÁZI only instead of BÁRTHÁZI and the list as well. So here's a forward of what I sent and he replied to. --- Forwarded message --- From: Matt <[EMAIL PROTECTED]> To: "BÁRTHÁZI András" <[EMAIL PROTECTED]> Cc: Subject: Re: embedding langua

Re: Fwd: Re: embedding languages in Perl 6

2005-04-20 Thread Matt
On Wed, 20 Apr 2005 14:13:42 -0400, Larry Wall <[EMAIL PROTECTED]> wrote: Heredocs are variants on q:to these days, but if you're going to be mixing Perl and SQL syntax, it's probably better to dispense with the heredoc and just have a language variant so that you can parse it at compile time. A h

Re: -X's auto-(un)quoting?

2005-04-23 Thread Matt
On Sat, 23 Apr 2005 07:25:10 -0400, Juerd <[EMAIL PROTECTED]> wrote: Matt skribis 2005-04-22 21:55 (-0400): What about . for each level up you want to go? instead of 1.say, 2.say, 3.say you use .say, ..say, ...say (Ok, I'm just kidding.. really!) I read your message after I suggest

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 14:24:25 -0400, Juerd <[EMAIL PROTECTED]> wrote: Because a URI scheme ends in :. It http: followed by anything other than // should fail because it is invalid, not fall back to file handling. IFF you're handling URIs. multi sub open ($u of Str where /^mailto:\/\//, [EMAI

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 21:31:03 -0400, Larry Wall <[EMAIL PROTECTED]> wrote: given open 'mailto:[EMAIL PROTECTED]' { ^say(...); ^close or fail; } That almost makes sense, given that $^a is like $_. It also points vaguely upward toward some antecedent. I could maybe get used

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 15:09:21 -0400, Juerd <[EMAIL PROTECTED]> wrote: Matt skribis 2005-04-22 14:44 (-0400): mailto isn't something you can "open" really, for read at least. No, but writing to it ought to simplify things :) given open 'mailto:[EMAIL PROTEC

Re: -X's auto-(un)quoting?

2005-04-22 Thread Matt
On Fri, 22 Apr 2005 11:42:10 -0400, Larry Wall <[EMAIL PROTECTED]> wrote: You speak of "open" as if it must be a single function. We're now living in the age of MMD, so what you're asking for is a no-brainer. If we decided to we could even do MMD with constraints: multi sub open ($u of Str whe

Re: Sun Fortress and Perl 6

2005-04-27 Thread Matt
On Wed, 27 Apr 2005 03:32:12 -0400, Autrijus Tang <[EMAIL PROTECTED]> wrote: 3. Labels applies to blocks, not statements Instead of this: LABEL: say "Hello!" say "Hi!" One has to write this (essentially creating named blocks): LABEL: { say "Hello!" say "Hi!

Re: date interface (was Re: perl6 requirements, on bootstrap)

2000-08-02 Thread Matt Sergeant
On Tue, 1 Aug 2000, Tom Christiansen wrote: > >3. It no longer has a unix specific flavour (PS I am not anti-unix in any > >sense) so Mac, VMS and Windows users feel less confused. > > Did it get decided that we were *supposed* to make Unix and C programmers > feel more confused and less at home

Re: date interface (was Re: perl6 requirements, on bootstrap)

2000-08-03 Thread Matt Sergeant
[I might join perl6-language some day, but until then, please CC me on all Time::Object related messages] On Wed, 2 Aug 2000 08:14:22 +0100 (BST), Matt Sergeant wrote: >I used to be a C programmer myself (well OK, I was a C++ programmer...), >but I'd rather any day type "local

Re: date interface (was Re: perl6 requirements, on bootstrap)

2000-08-03 Thread Matt Sergeant
On Thu, 3 Aug 2000, Hildo Biersma wrote: > > > > I'd either leave that as (localtime)[3,4,5] (please read the man page for > > Time::Object), or understand that there's absolutely no need to separate > > off the variables like that in an object oriented interface: > > Ah, but we could make the

Re: date interface (was Re: perl6 requirements, on bootstrap)

2000-08-03 Thread Matt Sergeant
On Thu, 3 Aug 2000, Tom Christiansen wrote: > >I'd either leave that as (localtime)[3,4,5] (please read the man page for > >Time::Object), or understand that there's absolutely no need to separate > >off the variables like that in an object oriented interface: > > > my ($day, $month, $year) =

Re: AGAINST RFC 48 (v1) Replace localtime() and gmtime() with da

2000-08-08 Thread Matt Sergeant
> On Mon, Aug 07, 2000 at 01:44:28AM -0500, Jonathan Scott Duff wrote: > > On Sun, Aug 06, 2000 at 11:07:02AM -0700, Russ Allbery wrote: > > > Basically, you don't want to go anywhere near this mess; it eats people. > > > > I agree. > > > > > I see two reasona

Re: AGAINST RFC 48 (v1) Replace localtime() and gmtime() with da

2000-08-08 Thread Matt Sergeant
On Tue, 8 Aug 2000, Nathan Wiger wrote: > > While I think Time::Object is a really great module, and following these > > discussions I'm thinking of adding a date() function to it > > Aaah! Please don't. :-) Name it something else, por favor (or at least > wait until this is finalized and make t

RE: What will be the Perl6 code name ?!!

2000-10-19 Thread Matt Youell
ike consistency. =) > What will be the Perl6 code name ? > even the perl books has some animal to represent the main idea behind... or > just for the fun. How about just "O'Reilly" for the code name? ;-) Matt

Re: So, we need a code name...

2001-05-04 Thread Matt Youell
Has anyone suggested "Oyster", or is that too obvious? __ Matt Youell - "Think different, just like everyone else." [EMAIL PROTECTED] http://www.youell.com/matt/

Re: what I meant about hungarian notation

2001-05-08 Thread Matt Youell
arily a string or a number. And what if I want to treat a string-ifiable object as an untyped value? Is my var then "$ worthy"? - Matt

Re: what I meant about hungarian notation

2001-05-09 Thread Matt Youell
Perl. I abhor Hungarian notation. It's the dark side of Lazy. And chances are that if you actually *need* it, your code needs some serious factoring, IMHO. > My primary concern in this area is the introduction of forced verbosity. Typing is good for you. It builds strong bodies 8 ways. - Matt

Re: method calls on $self

2005-07-11 Thread Matt Fowles
l disengagements. Yay! I guess I will take this moment to resuggest @^ as a list of invocants and $^ =:= @^[0]. I like how the ^ kinda points you the right way, also visually distinctive and doesn't get in the way of $_... Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2005-07-05 through 2005-07-12

2005-07-12 Thread Matt Fowles
till young, but would gladly take test cases. <http://xrl.us/gqka> Leo's Branch Meets PGE After the initial discussion of optional parameter, Patrick updated the leo_ctx5 branch of PGE to the new calling conventions. All tests pass. <http://xrl.us/gqkb>

Re: Do I need "has $.foo;" for accessor-only virtual attributes?

2005-07-22 Thread Matt Diephouse
to say whether or not this is confusing with adverb pairs, but I love the colon for private methods/attributes and it's the one thing separating your new thinking from my ideal Perl 6 OO. -- matt diephouse http://matt.diephouse.com

Re: Exposing the Garbage Collector

2005-07-25 Thread Matt Fowles
David~ On 25 Jul 2005 04:02:44 -, David Formosa (aka ? the Platypus) <[EMAIL PROTECTED]> wrote: > > I'm going to hijack this thread to discuss something else. Speaking for summarizers everywhere. A! Damn you! Matt -- "Computer Science is merely the post-Tu

Perl 6 Summary for 2005-07-19 through 2005-07-26

2005-07-26 Thread Matt Fowles
vim.pl Amir Karger noticed a bug in ops2vim.pl and suggested a fix. Jerry Gay fixed it. <http://xrl.us/gv62> Leo's Ctx Branch Tests Jerry Gay and Leo worked together to get his branch passing a few more tests on windows. Nick Glencross wondered if the python dynclas

Re: Elimination of Item|Pair and Any|Junction

2005-07-27 Thread Matt Fowles
ar/[your ad here]. While we are talking about words... I dislike having Object encompass Juction. I get the feeling that some people will write functions that take Objects and not expect Junctions to slip in. I suppose that could be one of those hurdles that developers just have to jump, but it doesn't feel like it should be. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2005-08-02 through 2005-08-10

2005-08-10 Thread Matt Fowles
Perl 6 Summary for 2005-08-02 through 2005-08-10 All~ Welcome to another summary, brought to you by chinese food. The attentive among you will notice that this summary is a day late, because I did not feel like doing it yesterday. If only I could do that at work... Perl 6 Co

Perl 6 Summary for 2005-08-15 through 2005-08-22

2005-08-22 Thread Matt Fowles
Perl 6 Summary for 2005-08-15 through 2005-08-22 All~ Welcome to another monday summary, which hopefully provides some evidence that mondays can get better. It always feels like writing summaries is an uphill battle, perhaps I should switch to writing about Perl 6 Language firs

Who is @Larry?

2005-08-25 Thread Matt Fowles
All~ I have a simple question. Who comprises @Larry? I am fairly sure that I know a few people in it, but I am highly doubtful that I know all of them. Thanks, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2005-09-12 through 2005-09-19

2005-09-19 Thread Matt Fowles
Perl 6 Summary for 2005-09-12 through 2005-09-19 All~ Welcome to another Perl 6 Summary, this time brought to you with a shorter pause (::grumble:: $WORK ::grumble::) and assisted by cookies. Perl 6 Compilers Circular Preludes for Fun and Confusion Yuval Kogman posted a reall

Re: conditional wrapper blocks

2005-09-20 Thread Matt Fowles
gh to warrant adding new syntax, especially a syntax that conflicts with if .. else .. It seems like add complexity for very little win (granted it is not a lot of added complexity, but perl6 is already an very large language). Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: \(...)?

2005-09-21 Thread Matt Fowles
,> *not* called foo .(1,2,3);# &infix:<,> *not* called foo (1,2,3); # &infix:<,> called foo( (1,2,3) ); # &infix:<,> called Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: Stringification, numification, and booleanification of pairs

2005-09-22 Thread Matt Fowles
with a special case that people will have to look out for later, > and it hinders the usability of higher order functions by making > it harder for them to accept the stringiciation operator, for > instance. > > This lessens Perl 6 stability and

Re: Look-ahead arguments in for loops

2005-09-29 Thread Matt Fowles
rules: optional stuff comes last. I disagree, I think that is an easy call for (1, 2) -> ?$prev, $cur, ?$next { say "$prev -> $cur" if $prev; say $cur; say "$cur -> $next" if $next; say "next"; } should print 1 1 -> 2 next 1 -> 2 2 next Ma

Re: Look-ahead arguments in for loops

2005-09-30 Thread Matt Fowles
Austin~ On 9/29/05, Austin Hastings <[EMAIL PROTECTED]> wrote: > Matt Fowles wrote: > > >Austin~ > > > >On 9/29/05, Austin Hastings <[EMAIL PROTECTED]> wrote: > > > > > >>Plus it's hard to talk about backwards. If you say > >&g

Perl 6 Summary for 2005-09-26 through 2005-10-02

2005-10-04 Thread Matt Fowles
Perl 6 Summary for 2005-09-26 through 2005-10-02 All~ Welcome to another summary, this time a day late because I was in Philly for Serenity. If you haven't seen Serenity yet you should stop reading this summary and go see it. The summary will be here when you get back. I promis

Re: What the heck is a submethod (good for)

2005-10-13 Thread Matt Fowles
really... I have always wondered about the absence of these. CLOS has them and they look quite useful. Was it an intentionaly decision to omit this type of multi method? Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2005-10-10 through 2005-10-24

2005-10-25 Thread Matt Fowles
rl.perl6.internals =head3 Name Space is Dead; Long Live Namespace Matt Diephouse announced the deprecation of get_name_space in favor of get_namespace. http://groups.google.com/group/perl.perl6.internals/browse_frm/thread/ddb3bba634077c8d/496252734de3c217#496252734de3c217 Google Groups : per

Re: +$arg changed to :$arg

2005-10-26 Thread Matt Fowles
#x27;t valid formal parameters. We kind of need > a subscript modifier instead: > > @array:[42] 42 => @array[1] Same question. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: Is there a way to generate an object without new?

2005-10-27 Thread Matt Fowles
ts, but not how Perl does > it. In other words: you should not want this. How does that logically follow? Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2005-11-14 through 2005-11-21

2005-11-21 Thread Matt Fowles
Perl 6 Summary for 2005-11-14 through 2005-11-21 All~ Welcome to another Perl 6 Summary. The attentive among you may notice that this one is on time. I am not sure how that happened, but we will try and keep it up. On a complete side note, I think there should be a Perl guild o

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Matt Fowles
in Perl 6, XOR is spelled +^ or ~^, and ^ is Junctive one(). > So it seems that ^$x should be one($x). But that's an entirely > useless, trivial junction, so it makes sense to steal the syntax for > something else. I think using C< ..5 > to mean (0, 1, 2, 3, 4) would be a more

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Matt Fowles
Larry~ On 11/23/05, Larry Wall <[EMAIL PROTECTED]> wrote: > On Wed, Nov 23, 2005 at 11:55:35AM -0500, Matt Fowles wrote: > : I think using C< ..5 > to mean (0, 1, 2, 3, 4) would be a more > : sensible option. Makes sense to me at least. > > That does

Re: This week's summary

2005-11-30 Thread Matt Fowles
start writing weekly summaries until you send me an email saying you are ready to resume. Don't hurry on my account; I know moving is a pain. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2005-12-05 through 2005-12-12

2005-12-12 Thread Matt Fowles
Perl 6 Summary for 2005-12-05 through 2005-12-12 All~ Welcome to another Perl 6 summary. This week, like last, Parrot has produced the highest volume of emails. Fine by me, Parrot tends to be easiest to summarize. This summary is brought to you by Snow (the latest soft toy in t

Perl 6 Summary for 2006-01-02 though 2006-01-09

2006-01-11 Thread Matt Fowles
Perl 6 Summary for 2006-01-02 though 2006-01-09 All~ Welcome to another Perl 6 Summary. On a complete tangent, if you are playing World of Warcraft and see a troll hunter named Krynna, she rocks. She royally saved me. Be nice to her. Perl 6 Compiler PIL Containers and Roles

Re: Class methods vs. Instance methods

2006-01-18 Thread Matt Fowles
ined behavior. Could you provide a concrete example of the advantage of this approach please? Failing that can you try and expand on your gut feeling a bit? Thanks, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Perl 6 Summary for 2006-01-10 though 2006-01-24

2006-01-24 Thread Matt Fowles
ixote... Perl 6 Compiler Either this list followed its typical pattern of doing most of its work off list, or google's indexing of it broke. I am guess the former and continuing on blindly. Perl 6 Internals Unescapable Single Quotes in Strings Matt Diephouse discovered tha

Re: overloading the variable declaration process

2006-02-06 Thread Matt Fowles
.". Perhaps, I am just too firmly rooted in old paradigms but I think it is very important not to conflate the representation of a thing with the thing. http://en.wikipedia.org/wiki/Image:MagrittePipe.jpg Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: overloading the variable declaration process

2006-02-07 Thread Matt Fowles
grammatically. What I don't really understand is what exactly Pipe is and where it would be useful. They way you have described Pipe feels a little muddy to me and I am unsure about its purpose and semantics. Is it just an object I ask `.can()` or does it have some deeper usefulness? Matt --

Re: overloading the variable declaration process

2006-02-07 Thread Matt Fowles
Stevan~ I am going to assume that you intended to reply to perl 6 language, and thus will include your post in its entirety in my response. On 2/7/06, Stevan Little <[EMAIL PROTECTED]> wrote: > On 2/7/06, Matt Fowles <[EMAIL PROTECTED]> wrote: > > Larry~ > > > &

Perl 6 Summary for 2006-01-24 though 2006-02-07

2006-02-07 Thread Matt Fowles
<http://xrl.us/jwuc> Macros Herbert Snorrason wants more specifics on macros in Perl 6. Larry gave him some. <http://xrl.us/jwud> Synopsis Typos Yiyi Hu and Andrew Savige found a few typos in a few synopses. Larry graciously fixed them. <http://

Re: overloading the variable declaration process

2006-02-07 Thread Matt Fowles
fact( Int $n ) { return $n * fact($n-1); } Why not have class methods take the form class Foo { method foo (Class Foo) { say "I am a class method, and proud of it"; } } They are still well types (I think), and properly restricts the types allowed for foo. After all Foo is just a specific instance of the class Class. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: overloading the variable declaration process

2006-02-08 Thread Matt Fowles
ll > have forgotten all about class Class. > > 1 ... 2 ... 3 ... *snap* ... What!?!? Where was I? Oh, yeah. As I was saying, I think we just take C++'s object system exactly. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

$a.foo() moved?

2006-04-06 Thread Matt Fowles
.foo()> was a method call on C<$a>. Thanks, Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Re: $a.foo() moved?

2006-04-06 Thread Matt Fowles
Larry~ On 4/6/06, Larry Wall <[EMAIL PROTECTED]> wrote: > On Thu, Apr 06, 2006 at 01:58:55PM -0400, Matt Fowles wrote: > : All~ > : > : I just noticed something claiming that C<$a. foo()> is actually > : C<$a.foo()> (a method call on C<$a>) and that C

Re: Re: class interface of roles

2006-10-08 Thread Matt Fowles
n.wikipedia.org/wiki/Partial_ordering Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -Stan Kelly-Bootle, The Devil's DP Dictionary

Parrot 0.4.11 released

2007-04-17 Thread Matt Diephouse
n config file + extended support for gcc, icc, and other compilers + extended support for Solaris and other platforms Thanks to all our contributors for making this possible, and our sponsors for supporting this project. Enjoy! -- Matt Diephouse

RE: Operators that keep going and going...

2004-03-14 Thread Matt Creenan
It just goes to show.. the perl community has already thought of everything.. -Original Message- From: Luke Palmer [mailto:[EMAIL PROTECTED] Sent: Sunday, March 14, 2004 12:41 PM To: Carissa Cc: Perl Language Subject: Re: Operators that keep going and going... Carissa writes: > The oth

Re: The .bytes/.codepoints/.graphemes methods

2004-07-01 Thread Matt Diephouse
one could define easily. Of course, I have no idea how to reconcile this with all the talk of unicode other than to say that the easy stuff should be easy. It just follows this would also be nice for arrays, to replace splice. For me, these two functions are the most bothersome part of Perl 5, and I would love to see them go. matt

Re: The .bytes/.codepoints/.graphemes methods

2004-07-01 Thread Matt Diephouse
Juerd wrote: Matt Diephouse skribis 2004-06-30 20:51 (-0400): my $string = "Hello, World!"; say $string[0..4]; # prints "Hello\n" $string[7...] = "Larry!"; say $string; # prints "Hello, Larry!\n" And that "array" is one of bytes? graphemes? I&#x

Re: "=>" brother

2004-07-12 Thread Matt Diephouse
an about this a few weeks ago. He said whetever they could get away with would be valid. Meaning that as long as it is doable with the parser you can do it. matt

Re: String interpolation

2004-07-22 Thread Matt Diephouse
This is close to the new form() syntax as well, which could be considered a plus. I for one won't complain about adding the good things from Ruby back in to Perl. matt Note that this not only fixes the Perl 6 "% in sprintf" issue, but also the Perl 5 "@ in email address&qu

Re: Handling block parameters in Ruby

2004-08-13 Thread Matt Diephouse
@array.each:{$^odd.bar() }:{ $^even.baz() }; Admittedly it's a much smaller case, but it should be useful, even if I can't think of a non trivial case offhand. -- matt diephouse -- http://matt.diephouse.com > > Larry >

Re: Handling block parameters in Ruby

2004-08-13 Thread Matt Diephouse
.; } my $odd = odd_numbers :by(2); Does that pass C 2> as a Pair to the function? Or does it apply the adverb to the result? Maybe I need to do this? my $odd = (odd_numbers) :by(2); My head is swimming at this point, so I'd better give it a rest. matt > On the other hand, the par

Return with no expression

2004-08-19 Thread Matt Diephouse
is will work differently in Perl 6? I'd be tempted to suggest that C<<=>>>, in its new role as pair constructor, put things in scalar context, but lately I've started to write join's like so: my $string = join "," => @array; I want my cake. And I want to eat it to, dang it! -- matt

Re: Synopsis 2 draft 1 -- each and every

2004-08-19 Thread Matt Diephouse
... } Or maybe one method could be used both ways, depending on whether it's called in list or scalar context. But you wouldn't get the implicit assignment to C<$_>. -- matt

Re: Return with no expression

2004-08-19 Thread Matt Diephouse
quot; => @array; > > my $string = join "," <== @array; > > It's a 180, but it'll workforme. I think I'm going to go with C< @array.join(",") >. :) -- matt > > Juerd

Re: "<->" as "->" with automatic "is rw"

2004-08-20 Thread Matt Diephouse
--or-- for @a ¥ @b <-> { ... } ? -- matt

Re: "<->" as "->" with automatic "is rw"

2004-08-20 Thread Matt Diephouse
introduced a new feature midthink (and I'd missed it). -- matt

Re: Return with no expression

2004-08-23 Thread Matt Creenan
I've always thought that particular bit of sugar was rather dangerous. I'd even prefer a longhand: $foo either 0 or split(); to the troublesome double-usage of C<::> I think I'd prefer that as well, since it has the advantage of not having to use the evil shift key. Though i don't think it s

Re: Return with no expression

2004-08-23 Thread Matt Creenan
I think I'd prefer that as well, since it has the advantage of not having to use the evil shift key. Though i don't think it stands out as much as it should. I hate to reply to my own message, but... How about $foo??split()!!0; for a touch of craziness. Or is !! not usable? Actually, just igno

Re: The last shall be last

2004-09-05 Thread Matt Diephouse
me? 1st should mean the first element. -1st should mean the first element of the reversed array. Don't say -1st is the "first from last". If last is the opposite of first, I would expect 1st to mean "first from first," which would mean the second. Say "first from the end". -- matt

Re: S4: Can PRE and POST be removed from program flow?

2004-09-05 Thread Matt Diephouse
I may be completely off base here, but I think this whole discussion would be better suited for perl6-internals. A packaging system would not be a feature of the language itself, but of its implementation. Don't confuse Perl and perl. -- matt

Re: S4: Can PRE and POST be removed from program flow?

2004-09-06 Thread Matt Diephouse
is parrot). perl6-language is about Perl the language. perl != Perl Code packaging is a matter of perl, not Perl, I believe. -- matt

Re: How would I do this in Perl6? #1

2004-09-14 Thread Matt Diephouse
@$input = pack pop(@$templates), @$input; return @$input if not @$templates; # special goto magic for tail recursion @_ = ($input, $templates); goto &extended_pack_rec; } I prefer Perl 6. -- matt

Re: So long, and thanks for all the fish!

2004-10-15 Thread Matt Fowles
All~ I am willing to try and take on this responsibility. I have been reading p6i for several years now and always appreciated the summary, so what better way to give back. Any advice/scripts that Piers (or anyone else) can provide me would be appreciated. Matt -- "Computer Science is m

Perl 6 Summary for 2004-10-01 through 2004-10-17

2004-10-17 Thread Matt Fowles
docs/pdds/pdd07_codingstd.pod, and the fact that it should be applied to perl code where appropriate. Thank you. = rx_compile and FSAs Aaron Sherman has some ambitious stuff in the works with respect to regular expressions. Stay tuned for details. http://xrl.us/dixx = Single character from stdi

Perl 6 Summary for 2004-10-18 through 2004-10-23

2004-10-23 Thread Matt Fowles
.us/dndf> Parrot Forth Michel Pelletier and Matt Diephouse discussed some of the finer points of Forth implementations and optimizations. <http://xrl.us/dndg> Win32 update Ron Blaschke gave a quick update on his progress with VC7.1 on Win32. Looks good an

Perl 6 Summary for 2004-10-23 through 2004-11-01

2004-11-01 Thread Matt Fowles
erting everything to dynclasses. He and Leo talked out some alternatives. Things are looking promising. <http://xrl.us/drte> threading issues Sam Ruby wanted to know about possible threading issues. Leo requested that they let the sleeping giant lie for a while lon

Perl 6 Summary for 2004-11-01 through 2004-11-08

2004-11-08 Thread Matt Fowles
y put some methods into the continuation to do this, but later though about putting them into the interpreter instead. I like the interp idea. <http://xrl.us/dvjc> parrot -t memory leaks Last week our fearless leader notice some not insignificant memory leaks with parrot -t.

Perl 6 Summary for 2004-11-08 through 2004-11-15

2004-11-15 Thread Matt Fowles
can take various compiler arguments on the command line. What are you waiting for? <http://xrl.us/dy5d> Register Stomping Matt Diephouse was having troubles with his newly updated forth compiler. The verdict seems to be that he has uncovered a bug. To quote Matt, "

Perl 6 Summary for 2004-11-22 through 2004-11-29

2004-11-29 Thread Matt Fowles
for it. Will took a first pass at it. <http://xrl.us/d6xj> -- original message <http://www.parrotcode.org/examples/> testj string_102 issues Luke Palmer found a subte looking problem in string_102.pasm. Leo couldn't reproduce it and suggested that it might be

Re: Angle quotes and pointy brackets

2004-11-30 Thread Matt Fowles
Austin~ On Tue, 30 Nov 2004 18:15:54 -0500, Austin Hastings <[EMAIL PROTECTED]> wrote: > Austin Hastings wrote: > > > Larry Wall wrote: > > And now, Piers is cackling madly at Matt: welcome to "perl6-hightraffic!" > > :-) Even if he wasn't cackl

Re: Angle quotes and pointy brackets

2004-11-30 Thread Matt Diephouse
= ; my @other = %hash; (Those are written out for my own benefit; consider it a goodbye.) -- matt diephouse http://matt.diephouse.com

Re: Angle quotes and pointy brackets

2004-11-30 Thread Matt Diephouse
. *shrug* > And won't we just be doing: > > use CGI :standard; > > anyway? Yeah, we will; I forgot. :-) I don't use Perl 6 very often (yet). -- matt diephouse http://matt.diephouse.com

Re: qq:i

2004-12-01 Thread Matt Diephouse
interpolate? my $name = 'add'; my $code = q:c<«>[ sub «$name» ($left, $right) { return $left + $right; } ]; # prints " # sub add ($left, $right) { # return $left + $right; # } # " Where you could whatever you wanted instead of «». -- matt diephouse http://matt.diephouse.com

Re: qq:i

2004-12-01 Thread Matt Diephouse
} > ]; > > After all, that's why we put \q interpolation into '' in the first place. I missed that. Thanks. -- matt diephouse http://matt.diephouse.com

Re: Angle quotes and pointy brackets

2004-12-03 Thread Matt Diephouse
orth. I'm aware of how ridiculous many of the things we (that includes me) say are, but perhaps I've said something useful. Hoping I haven't removed all doubt of my foolishness, -- matt diephouse http://matt.diephouse.com

Re: iteration (was Re: Angle quotes and pointy brackets)

2004-12-04 Thread Matt Diephouse
On Sat, 04 Dec 2004 08:59:24 -0700, David Green <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Matt Diephouse) wrote: > >Supposing > >class Filehandle does Iterate; # Iterate or Iterator? > >we have an easy way to cr

Perl 6 Summary for 2004-11-29 through 2004-12-06

2004-12-06 Thread Matt Fowles
given me another space to abuse. You should listen to "Soul Coughing". If you would like to join in the fun of abusing p6c, you should submit tests. Nothing is more abusive then stress testing ;-) Parrot Tuning and Monitoring Matt S asked how much support for tuni

Re: specifying the key Type for a Hash

2004-12-07 Thread Matt Diephouse
quot;, > $last, $first > ); > } > > ... > } for @byid -> $patient { ... } for %byname.kv -> $key, $value { ... } ??? -- matt diephouse http://matt.diephouse.com

Perl 6 Summary for 2004-12-06 through 2004-12-20

2004-12-20 Thread Matt Fowles
Perl 6 Summary for 2004-12-06 through 2004-12-20 All~ The observant among you might notice that I missed last week's summary. With the hubbub and confusion of the holidays, I blame ninjas, in particular Ryu Hyabusa. Given that Christmas is next weekend and New Years is the week

Perl 6 Summary for 2004-12-20 through 2005-01-03

2005-01-03 Thread Matt Fowles
leanup chromatic applied his previously threatened patch with a polite thanks to himself. <http://xrl.us/ekky> reading past EOF in PIR Matt Diephouse noted that the error from reading past the EOF in PIR was not really informative. Patches welcome. <http://xrl.us/ek

Re: Perl 6 Summary for 2004-12-20 through 2005-01-03

2005-01-04 Thread Matt Fowles
Austin~ On Tue, 04 Jan 2005 11:20:25 -0500, Austin Hastings <[EMAIL PROTECTED]> wrote: > Matt Fowles wrote: > > >Perl 6 Summary for 2004-12-20 through 2005-01-03 > > > > > > > > s/conses/consensus/g ? Indeed. Let this be a lesson to anyone who wo

Perl 6 Summary for 2004-01-03 through 2004-01-11

2005-01-11 Thread Matt Fowles
ced the powerful Parrot Syntax Engine. Leo asked a few questions to which Henrik provided answers. All in all, it looks really cool and makes me a little jealous that I did not develop the Tomita algorithm first. <http://xrl.us/eovf> s/libnci.so/libnci_test.so/g Bernhard Sc

Perl 6 Summary for 2005-01-11 through 2005-01-18

2005-01-18 Thread Matt Fowles
;http://www.cs.kent.ac.uk/people/staff/rej/gc.html> -- the page argv[0] Will wants to get at the moral equivalent of argv[0]. <http://xrl.us/er3q> proposed VTABLE changes for method lookup Leo suggested a VTABLE change to facilitate MMD and method lookup. Suggestions a

Re: Proposed vtable changes WRT method lookup

2005-01-19 Thread Matt Fowles
Leo~ On Wed, 19 Jan 2005 16:26:07 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > [ cc'ed p6l ] > > Matt Fowles wrote: > > Leo~ > > > > On Wed, 19 Jan 2005 10:02:26 +0100, Leopold Toetsch <[EMAIL PROTECTED]> > > wrote: > > >

Re: Proposed vtable changes WRT method lookup

2005-01-20 Thread Matt Fowles
Leo~ On Thu, 20 Jan 2005 10:01:42 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Matt Fowles <[EMAIL PROTECTED]> wrote: > > Leo~ > > > On Wed, 19 Jan 2005 16:26:07 +0100, Leopold Toetsch <[EMAIL PROTECTED]> > > wrote: > >> [

  1   2   >