[This is a repost, somehow it didn't get through before, sorry.]
Luke wrote:
Both transparent dereferencing (infinite $$foo) and
opaque dereferencing (one-level $$foo) have their uses, but they are
definitely distinct.
Well, they are more like variations on a theme.
Instead of adding
Will Coleda [EMAIL PROTECTED] wrote:
Tcl has a need to be able to convert between Lists and Strings. All of the
morphing samples that are in, say, PerlUndef are for scalars.
Right now, I have a PIR method, _Tcl::__stringToList that takes a string,
and then uses the tcl parser to split it up
Bob Rogers [EMAIL PROTECTED] wrote:
The problem is that if you do
loadlib /home/rogers/foo/bar/baz
[...]
Thanks, applied - r8209
leo
Vladimir Lipsky [EMAIL PROTECTED] wrote:
Nested packfile segments of type directory are freed twice by
default_destroy().
Thanks, applied - r8210
leo
Vladimir Lipsky [EMAIL PROTECTED] wrote:
This patch prevents from an attempt to add a NULL PMC_EXT structure to the
pmc ext pool while in dod sweep run.
Thanks, applied - r8210
leo
Okay, I'd like to set myself straight. Sanity check:
bar($foo, $baz); # looks for subs (lexical then package), and
falls back to MMD
$foo.bar($baz);# looks in ref($foo), then falls back to MMD
If this is correct, can we simplify the latter to mean MMD only ?
Would there be a more
# New Ticket Created by Curtis Rawls
# Please include the string: [perl #36035]
# in the subject line of all future correspondence about this issue.
# URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36035
The first patch (optimizer.patch) adds more improvements to strength_reduce().
Mark Reed wrote:
I would really like to see ($x div $y) be (floor($x/$y))
That is: floor( 8 / (-3) ) == floor( -2. ) == -3
Or do you want -2?
and ($x mod $y) be ($x - $x div $y).
Hmm, since 8 - (-3) == 11 this definition hardly works.
But even with $q = floor( $x / $y ) and $r = $x
TSa (Thomas Sandlaß) skribis 2005-05-30 8:58 (+0200):
[This is a repost, somehow it didn't get through before, sorry.]
This is the fourth time it did get through to my mailbox, at least.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
Curtis Rawls [EMAIL PROTECTED] wrote:
The first patch (optimizer.patch) adds more improvements to
strength_reduce().
Thanks, applied - r8212
leo
Hello!
Why is the do {...} literal added in Pugs 6.2.5?
It would be better that
loop {...} while EXPR;
loop {...} until EXPR;
would work, like it is written in Synopsis 4: Blocks and Statements
Gerd Pokorra
On 5/30/05, Gerd Pokorra [EMAIL PROTECTED] wrote:
Hello!
Why is the do {...} literal added in Pugs 6.2.5?
Because do {...} is a part of the language, while or no while. Perl 6
is supposed to die if you say do {...} while, which isn't implemented
in pugs yet. But the special delayed
Yeah, the PIR I showed was a bit of a hack based on current functionality. Thinking about it more, I think we do need to have true morphing between TclLists and TclStrings, especially we get to true language interopability.
This is a problem with the current set of vtables, because while I can
We already have the Set class, how do we say what it contains?
class Set {
has $.type;
submethod BUILD {
# get something into $.type, using 'of' handler
}
method members returns $.type () { ... }
}
my Set of Int $s = Set.new; # is this how you
From: William Coleda [EMAIL PROTECTED]
Date: Mon, 30 May 2005 09:56:22 -0400
Yeah, the PIR I showed was a bit of a hack based on current
functionality. Thinking about it more, I think we do need to have
true morphing between TclLists and TclStrings, especially we get to
true
On 5/30/05, Luke Palmer [EMAIL PROTECTED] wrote:
I expect it should be pretty simple to implement:
loop {...} while EXPR;
loop {...} until EXPR;
Yep. It was. Done as of r4171.
Luke
William Coleda wrote:
set a a b c
lappend a d e f
needs to somehow get the list representation of the named variable.
Ok. It could be that this functionality just maps to Perl's list
context, which isn't supported by vtables either:
$I0 = $P0.__get_bool()# int only
$S0 =
IIRC it was already mentioned here: http://shootout.alioth.debian.org/
- the Computer Language Shootout.
It would be quite interesting to have Parrot figures too and see
benchmark timings decrease steadily ;-)
I've someone wants to take over that part:
- configure = perl Configure.pl
I have a class that normally takes a list of named arguments.
I also want to be able to handle a single argument.
class Foo {
multi method new (Class $class: Str $date) {
return $class.bless(date = $date);
}
submethod BUILD ($.date, $.time, $.offset) {
# some error checking here
Hello all,
I've just released PXPerl 5.8.6-2, with Pugs 6.2.5 and Parrot 0.2.0
for Rules support. I've not tested the Rules support deeply, only some
snippets from the Perl 6 Bible (S05); seems to work.
Give it a try!
http://pixigreg.com/?pxperl
Thanks.
--
Grégoire Péan aka PixiGreg
Yuval Kogman wrote:
my Set of Int $s = Set.new; # is this how you call it?
This whole thing depends on how hard-wired the first level
container implementation is. There is either a loose or
very strict mapping from sigils to container types:
$ -- Scalar/Item
@ -- Array
% -- Hash
--
Debugging is a hard task, because either too much is hidden (this is
when we want to invoke the debugger), or too much is visible (this
is when we give up on tracing the problem through the debugger, and
resort to print Data::Dumper::Dumper($thing) every few lines of
code).
Given the complexity
Leopold Toetsch [EMAIL PROTECTED] wrote:
IIRC it was already mentioned here: http://shootout.alioth.debian.org/
- the Computer Language Shootout.
It would be quite interesting to have Parrot figures too and see
benchmark timings decrease steadily ;-)
How is this different from timeparrot?
On Mon, May 30, 2005 at 18:51:19 +0200, TSa (Thomas Sandla) wrote:
class Set does Array {...}
I don't like this... A set is just a simple example... What if I
want something sillier?
My question is really:
How do I make sub foo returns $computable
And how do I make this friendly to
Hi all,
I've just released a preview of the long-promised
Module::Build::TestReporter. This is a Module::Build subclass you can
use in your Build.PL. When someone runs ./Build test, it runs the
tests as usual, hijacks their output, keeps a log of any failures and
their diagnostics, and tells
I've just added a feature to Parrot::Test to allow you to add todo =
'reason' to the end of all test function calls. This will mark the
tests as TODO in a way that Test::Builder understands.
All failing TODO tests are successes in the eyes of the test harness and
do not appear in the short
Yuval Kogman wrote:
We already have the Set class, how do we say what it contains?
class Set {
has $.type;
method members returns $.type () { ... }
}
my Set of Int $s = Set.new; # is this how you call it?
You are describing Higher Order types, also called Generic Algebraic Data
27 matches
Mail list logo