This weeks summary

2005-01-26 Thread Matt Fowles
All~ I have been struggling with my internet for the past 4 days, so this weeks summary will be part of a "double feature" fortnight's summary next week. Figured that I would provide advanced notice though... Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

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

2005-01-31 Thread Matt Fowles
<http://xrl.us/exno> <http://xrl.us/exnp> <http://xrl.us/exnq> <http://xrl.us/exnr> argv[0] Wukk (who is Will when I get off key) wants the name of the invoked executable. Dan upped the anti by offering the full and base name variants of the interpreter, t

Re: FP6: Types

2005-02-03 Thread Matt Fowles
Autrijus~ Actually, I think that p6l is the correct place for this discussion. My logic is that you are asking about specific facets of the language, not helping the perl 6 compiler or parrot. Matt On Fri, 4 Feb 2005 01:28:42 +0800, Autrijus Tang <[EMAIL PROTECTED]> wrote: > On Th

Re: Junctive puzzles.

2005-02-08 Thread Matt Fowles
the only > case that doesn't work is when you instance a junction twice as a pair > of same literals: > > print "SUCCESS, unfortunately" if (is_prime(any(1, 2, 3, 4, 5)) && > is_even(any(1, 2, 3, 4, 5)) && any(1, 2, 3, 4, 5) > 2); > > Hope I'm making sense. Been a hard day at work. ;) What if junctions collapsed into junctions of the valid options under some circumstances, so my $x = any(1,2,3,4,5,6,7); if(is_prime($x) # $x = any(2,3,5,7) and is_even($x) # $x = any(2) and $x > 2) # $x = any() Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: [rbw3@cse.nau.edu: Re: Junctive puzzles.]

2005-02-08 Thread Matt Fowles
]> - > > (a < b < c) ==> (a < b) and (b < c) and (a < c) > I disagree, I think that that is both mathematically sounds and perfectly logical. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

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

2005-02-08 Thread Matt Fowles
est results Parrot_load_bytecode failure? Ian Joyce wondered what would happen if Parrot_load_bytecode failed. The answer: exception. <http://xrl.us/e27q> reading past EOF Matt Diephouse was annoyed that reading past EOF gave an unhelpful error message. Leo fixed

Re: Junctive puzzles.

2005-02-09 Thread Matt Fowles
All~ On Wed, 09 Feb 2005 22:48:00 +, Matthew Walton <[EMAIL PROTECTED]> wrote: > Matt Fowles wrote: > > All~ > > > > On Tue, 08 Feb 2005 17:51:24 +0100, Miroslav Silovic <[EMAIL PROTECTED]> > > wrote: > > > >>[EMAIL PROTECTED] wrote: &g

Re: Boolean literals

2005-02-17 Thread Matt Diephouse
and 0 > as the standard boolean values, or bool::true and bool::false? I believe bool::true and bool::false are enums (so they are 1 and 0, respectively). -- matt diephouse http://matt.diephouse.com

Re: Junction Values

2005-02-19 Thread Matt Fowles
hread is the only one of great length and I was hoping to wait for it to resolve... Which it sounds like it is doing :-) Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: Junction Values

2005-02-20 Thread Matt Fowles
> Damian > > PS: This is also a demonstration of the awesome power of junctions: that we > can specify the complement of a set without knowing its universal set! Or one more thing to drive the mathematicians into a rage... Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

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

2005-02-22 Thread Matt Fowles
Perl 6 Summary for 2005-02-08 through 2005-02-22 All~ Welcome to yet another fortnight summary. Lately p6l has been out stripping p6i in volume. While this used to be the norm, lately it has become a rare occurrence. Strange... Anyway, this summary would be brought to you buy c

Perl 6 Summary for 2005-02-22 though 2005-03-07

2005-03-07 Thread Matt Fowles
a bug with string encoding in PBC files. Leo fixed it. <http://xrl.us/fddx> Parrot 0.1.2 "Pheonix" or counting is fun Leo proudly announced the release of Parrot 0.1.2. Thank you everyone for all your hard work. <http://xrl.us/fddy> test suite c

Re: A possible solution for s?pintf

2005-03-12 Thread Matt Diephouse
he precedence table.) > Or, if that's not quite sufficient: > > say map { .key.as(.value) } > $num => '%d', > $str => '%s', > ...; And this: say [ $num => '%d', $str => '%s' ] >>.key.as(.value

Re: New S29 draft up

2005-03-17 Thread Matt Diephouse
believe that some of these can already be handled by C<.as()>. I would like for this to be addressed. This is one item that has always confused me about Perl 5. -- matt diephouse http://matt.diephouse.com

Re: New S29 draft up

2005-03-18 Thread Matt Diephouse
; > the replacement should be, though. Maybe it's not worth fixing. > > +"0x$_" # hex > +"0o$_" # oct > +"0b$_" # bin (does not exist in Perl 5) Too bad sub names can't start with numbers: 0x $hex; # hex $hex 0x($hex); 0b $bin; 0o $oct; That would make sense to me. -- matt diephouse http://matt.diephouse.com

Re: New S29 draft up

2005-03-20 Thread Matt Diephouse
Juerd <[EMAIL PROTECTED]> wrote: > Matt Diephouse skribis 2005-03-18 13:35 (-0500): > > Too bad sub names can't start with numbers: > > 0x $hex; # hex $hex > > But they can, if you call them prefix operators instead of subs. See > also -e and alike operators

Slices

2005-03-20 Thread Matt Diephouse
e don't need `splice` and `substr` at all, but there are times when it's more convenient to specify with a starting point and a length than with a range. -- matt diephouse http://matt.diephouse.com

Perl 6 Summary for 2005-03-07 through 2005-03-22

2005-03-22 Thread Matt Fowles
rg wondered if "where" or " | " had higher precedence. Larry replied that where was part of a magic group of declarational keywords that did some weird stuff. <http://xrl.us/fijv> strings and pain Rod Adams wants to change strings to deal with unicode d

Re: use less in perl6?

2005-03-30 Thread Matt Fowles
ures > > > > use less stuff; # might have a meaning for a library > > Hmmm.. I wonder what this would do: > > use less syntax; > > ;-) Back out the entire p6 grammar and put in lisp's instead... Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Perl 6 Summary for 2005-03-22 through 2005-04-05

2005-04-05 Thread Matt Fowles
ime. He did it, and leo applied the patches. <http://xrl.us/fogt> areas of focus Chip, in a circumloquacious attempt to come up to speed, indirectly asked what design issues needed attention. Leo explained the CPS issues that have been bogging down parrot of late

Re: Question about list context for String.chars

2005-04-11 Thread Matt Diephouse
about unicode if i don't want to. And if I understand correctly, that means that I want everything to use chars by default. And C<$string[]> would be a nice shortcut for that. -- matt diephouse http://matt.diephouse.com

Re: Win32 with ICU files build problem

2005-04-12 Thread Matt Diephouse
ntly saw some of this on Linux as well. I didn't go as far as to define --icudatadir, but I noticed that passing no icu options causes Configure.pl to autodetect icu. You might give that a shot. Please consider patching the documentation if what you find there doesn't work. -- matt diephouse http://matt.diephouse.com

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

2005-04-19 Thread Matt Fowles
Perl 6 Summary for 2005-04-12 through 2005-04-19 All~ Sadly, a slip of the mouse cause me to delete a partially completed summary, so I am going to push ahead on the rewrite without a witty intro. Feel free to make one up for yourself involving stuffed animals, musicians, and d

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

2005-04-20 Thread Matt Creenan
On Wed, 20 Apr 2005 13:00:01 -0400, Matt <[EMAIL PROTECTED]> wrote: 2. Is anyone working on making a Win32 module for Perl6 yet, or porting over the p5 one? If not, I may be willing to make one, along with some help from friends. If I do, does anyone have any pointers or suggestions

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

2005-04-23 Thread Matt Creenan
On Sat, 23 Apr 2005 13:55:17 -0400, Mark A. Biggar <[EMAIL PROTECTED]> wrote: After some further thought (and a phone talk with Larry), I now think that all of these counted-level solutions (even my proposal of _2.foo(), etc.) are a bad idea. They have a similar problems to constructs like "next 5;

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

2005-04-23 Thread Matt Creenan
On Sat, 23 Apr 2005 14:21:06 -0400, Juerd <[EMAIL PROTECTED]> wrote: Matt Creenan skribis 2005-04-23 14:19 (-0400): Hm.. didn't really think of that. Though, how often would that really happen? Often -- this is exactly the same problem as Python has with its significant indenting

Re: Open and pipe

2005-05-02 Thread Matt Fowles
are done currying you will have a simple sub to pass in as the callback, the peasants rejoice, and libraries will have a simpler interface. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: Open and pipe

2005-05-02 Thread Matt Fowles
All~ On 5/3/05, Uri Guttman <[EMAIL PROTECTED]> wrote: > >>>>> "MF" == Matt Fowles <[EMAIL PROTECTED]> writes: > > MF> All~ > MF> On 5/2/05, Uri Guttman <[EMAIL PROTECTED]> wrote: > >> >>>>> "LW&qu

Perl 6 Summary for 2004-04-26 through 2005-05-03

2005-05-03 Thread Matt Fowles
Perl 6 Summary for 2004-04-26 through 2005-05-03 All~ Welcome to another weeks summary. This week I shall endeavor not to accidentally delete my summary or destroy the world. So here we go with p6c. Perl 6 Compilers implicit $_ on for loops Kiran Kumar found a bug in pugs

Re: available operator characters

2005-05-06 Thread Matt Creenan
On Sat, 07 May 2005 01:12:02 -0400, Mark A. Biggar <[EMAIL PROTECTED]> wrote: Actually if we define |...| at all, I'd prefer it mean abs(), its usual mathmatical meaning. I agree. I think || is just confusing. I thought about $blockname <= { ... }, but <= is obviously taken, as is <== So here's

Re: available operator characters

2005-05-07 Thread Matt Creenan
On Sat, 07 May 2005 01:47:08 -0400, Matt Creenan <[EMAIL PROTECTED]> wrote: So here's some random ideas that probably make no sense ($ can be optional.. don't know) *snip* That brings me to another idea. Is $_ as an array used? @_? This relates back to the discussion on topic

Re: Clarification of behavior for .isa() on built-in types

2005-05-07 Thread Matt Fowles
simply using the autothreading semantics of junctions. The isa() call will be made repeatedly with the different arguments and then the junction will know how to combine that into a single boolean result. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: (1,(2,3),4)[2]

2005-05-11 Thread Matt Fowles
context. > > Right, but the *inside* of the invocant is still a list, so it's in > list context. I think that line should return 3. I am confused as to why exactly this is the case. Are you saying that nested lists like this flatten? That would certainly catch me off guard

Re: ./method

2005-05-15 Thread Matt Diephouse
go with it. Does this mean private methods will be called like this? ./:method() FWIW, I like the original spec best. I'm not sure that the problems with it aren't being exaggerated. But I've not written much Perl 6 yet either... -- matt diephouse http://matt.diephouse.com

Re: ./method

2005-05-15 Thread Matt Diephouse
Damian Conway <[EMAIL PROTECTED]> wrote: > Larry Wall wrote: > > > On Sun, May 15, 2005 at 12:22:07PM -0400, Matt Diephouse wrote: > > : Does this mean private methods will be called like this? > > : > > : ./:method() > > > > No, I think th

Re: ^method ?

2005-05-16 Thread Matt Fowles
w the & is optional on function calls... This symmetry and regularity seems like a powerful thing to me and I would not want to lose it... Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

reduce metaoperator on an empty list

2005-05-18 Thread Matt Fowles
All~ What does the reduce metaoperator do with an empty list? my @a; [+] @a; # 0? exception? [*] @a; # 1? exception? [<] @a; # false? [||] @a; # false? [&&] @a; # true? Also if it magically supplies some correct like the above, how does it know what that value is? Thanks, Matt --

Perl 6 Summary for 2005-05-03 through 2005-05-17

2005-05-18 Thread Matt Fowles
e road to miniparrot. Creating first a parrot without a config and using that to generate a config.fpmc for parrot. A larger parrot is then created with the config information provided. <http://xrl.us/f5r2> MMD pmcs Bob Rogers posted some questions about how to work with mul

Re: reduce metaoperator on an empty list

2005-05-20 Thread Matt Fowles
s nothing to be less then anything else. Note that defaulting to undef > therefore works in that case. On the contrary a mathematician would say that the empty list is monotonically increasing (vacuously) and the answer should be true. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: Perl development server

2005-05-23 Thread Matt Creenan
On Mon, 23 May 2005 14:58:20 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: How about "zephyr". No! That's the name of a project I'm working on dang it ;)

Perl 6 Summary for 2005-05-24 through 2005-05-31

2005-05-31 Thread Matt Fowles
e number of abstractions has increased. Is your compiler, imcc, your PMC, or parrot broken? Maybe two or three of them? To facilitate debugging leo suggested a debug_break opcode and a Debugger PMC. It sounds nifty. He also added support for lexically scoped trace and debug flags.

Re: My presentation on last weekend

2005-06-02 Thread Matt Creenan
one of them (Poetro) said the summary: then we can say, that Perl 6 is an "operator oriented language"? We agreed. As do I! I love it in fact :) Bye, Andras Matt

Re: return() in pointy blocks

2005-06-07 Thread Matt Fowles
ential to cause some vary large unexpected jumps down the stack. That said, I would want the pointy subs in for loops to ask this way, so maybe this is just one of those things that one has to be ware of. Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: return() in pointy blocks

2005-06-07 Thread Matt Fowles
All~ On 6/7/05, Luke Palmer <[EMAIL PROTECTED]> wrote: > On 6/7/05, Matt Fowles <[EMAIL PROTECTED]> wrote: > > On 6/7/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > sub foo (Code $code) { > > > my $re

Perl 6 Summary for 2005-06-21 through 2005-06-28

2005-06-28 Thread Matt Fowles
of numerical hierarchies. I was a little disappointed the quaternions got mentioned, but Hamiltonian and Surreal Numbers were left out. Honestly, where are our priorities. <http://xrl.us/gke4> Tracing and Debugging Pain Matt Diephouse posted a general description of the

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-03 Thread Matt Youell
Forgive my woeful ignorance Could someone define "data aggregation by inheritance"? From John's original mention I thought this was some oblique MI thing, but now it's sounding like a constructor bubbling scheme, like in C++, etc. Thanks! ____

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-04 Thread Matt Youell
ass::Struct rules, or some other > more elaborate alternative. Ah, yes. I've had to deal with that problem several times in the past. The terminology was new to me, however. Has there been a proposed solution? Thanks, - Matt

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-05 Thread Matt Youell
with something simple, like saying all classes have an implicit new() method that is overloadable? Is this really *that* complicated? Maybe I'm not getting the Big Picture. matt youell http://www.youell.com/matt/ "think different - just like everyone else"

Re: Anonymous classes (was Re: Anyone actually experienced with object inheritance?)

2001-07-06 Thread Matt Youell
estering sin? > But would the game be worth the candle? As a rule, I try not to play games involving candles or other flammables. ;-) - Matt

Re: "You can't make a hot fudge sundae with mashed potatoes instead of ice cream, either."

2001-07-09 Thread Matt Youell
less obscure example. > I think a type hierarchy makes much more sense than unleashing the hell > of templates on Perl. Perl was born in downtown Hell! Bring it on... - Matt

Re: Regex query

2002-09-20 Thread matt diephouse
"), ("1b", "2b"), ("1c", "2c") ); If you can, the only case where I could see [1, 2, 3] being necessary is in a sub call where the parameters are wrapped in parentheses. md |- matt diephouse

Re: Regex query

2002-09-21 Thread matt diephouse
iguous situations like: print (1, 2, 3), "\n"; I don't know how many times I've done that and wanted it to print "123\n". I know it's a feature, but it can be a bug in my writing. Now it'd be unambiguous: print [1, 2, 3], "\n"; --matt diephouse

Re: String concatentation operator

2002-11-18 Thread matt diephouse
Damian Conway wrote: BTW, in thinking about it further, I realize that Dan is going to have to tackle this issue anyway. There's fundamentally no difference in the exigencies of: $junction = $x | $y | $z; foo($junction);# Call foo($x), foo($y), and foo($z)

Re: String concatentation operator

2002-11-18 Thread matt diephouse
Damian Conway wrote: matt diephouse wrote: $junction = $x | $y | $z; foo($junction);# Call foo($x), foo($y), and foo($z) # in parallel and collect the results # in a disjunction Looking at that code, I&#

Re: threads?

2010-10-16 Thread Matt Follett
I'm referring: http://strangeloop2010.com/talk/presentation_file/14299/GuySteele-parallel.pdf ~Matt

<    1   2