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."
-???
<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
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
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."
-???
]> -
>
> (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."
-???
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
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
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
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."
-???
> 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
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
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
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
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
; > 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
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
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
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
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."
-???
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
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
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
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
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
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;
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
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."
-???
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
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
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
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
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."
-???
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
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
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
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."
-???
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
--
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
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."
-???
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 ;)
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.
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
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."
-???
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
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
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!
____
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
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"
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
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
"),
("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
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
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)
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
I'm referring:
http://strangeloop2010.com/talk/presentation_file/14299/GuySteele-parallel.pdf
~Matt
101 - 155 of 155 matches
Mail list logo