-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 17 2010, at 05:16 , Larry Wall wrote:
> On Tue, Nov 16, 2010 at 12:11:01PM -0800, Darren Duncan wrote:
> : Carl Mäsak wrote:
> : >Darren (>):
> : >>While I haven't seen any prior art on this, I'm thinking that it would be
> : >>nice for a sense
On Jul 05, 2006, at 01:25 , Larry Wall wrote:
What made me laugh is that Pugs knows the exact value of infinity:
pugs> my $a = {"$^lang has $^c.as('%03d') quote types."}(:c
(Inf),:lang)
"Perl has
1797693134862315907729305190789024733617976978942306572734300811577326
75805500963132708
Folks,
I found this when I was playing w/ pugs.
pugs> { $^x }.(42)
42
pugs> { my $z; $^x }.(42)
*** Undeclared variable: "$^x"
at line 1, column 10-14
So far as I see s06, there's nothing wrong w/ the statement above. I
just want to make sure this is not a perl6 feature.
I found this
Folks,
With Perl6, we have singleton methods as
$me.meta.add_method(me => sub{ ... });
But is there a way to, say, add methods within lexical scope?
Take URI on Perl 5. URI behaves both as an object
my $uri = URI->new("http://dev.perl.org/perl6/";);
print $uri->path; # "/perl6/"
But it als
On Apr 08, 2006, at 19:34 , Dan Kogai wrote:
does not. The problem of ~stringify, ?boolify, and +numify is that
they are infix operators so it goes the opposite direction.
s/infix/prefix/
Sorry.
Dan the Perl6 Golfer on the Bunker
On Apr 08, 2006, at 18:45 , Damian Conway wrote:
Dan Kogai wrote:
With that understood, I would welcome if we have a version of slurp
() which unconditionally returns a scalar.
That'd be:
~slurp $file;
:-)
Very clever. But still not good enough when it comes to autob
Folks,
This is a poetic quine (or quine-maker) in perl5.
open myself, $0 and print ;
The same thing in perl6 would be:
my $self = open $*PROGRAM_NAME; for =$self { say }
or
my $self = open $*PROGRAM_NAME; say for =$self;
or
my $self = slurp $*PROGRAM_NAME; print $self;
or even
[April 1st, 2006, 00:00 GMT+9]
Larry Wall and Audrey Tang jointly announced that Parrot, Pugs, and
all language-related projects be dysintegrated to Bugs. Bugs have
ruled this planet for half a billion years and they shall do so for
for years to come. Beats heck out of avians, mammals, re
On Nov 19, 2005, at 13:08 , Chip Salzenberg wrote:
On Sat, Nov 19, 2005 at 05:46:51AM +0200, Ilmari Vacklin wrote:
I don't much like it - it looks like a mistyped 'shift'.
Is 'filter' too long?
I usually avoid P6L discussions, but:
GNU Make has "filter" and "filter-out", and I've always fo
Here is my part.
On Oct 24, 2005, at 07:20 , Juerd wrote:
I've created pugs/docs/quickref/fears, a list of Perl 6 fears.
Feel free to add your own, or fears you heard about!
[snip]
: FEAR: Perl 6 has too many operators!
FEAR: Perl 6 has so many operators that it runs out of Unicode
characte
Maeda-san and the list members,
Thank you for raising this issue and sorry for not raising this myself.
On Oct 22, 2005, at 19:42 , Kaoru Maeda wrote:
If we find a lot of yen sign as zip-operator in the standard library,
we have a big question: "Give up either Perl6 or Windows. Which do
we a
Folks,
I recently needed to write a series of codes on lambda calculus in
perl. As MJD has shown Perl 5 can handle lambda calculus but I am
beginning to get tired of whole bunch of 'my $x = shift' needed.
our $ZERO =
sub { my $f = shift;
sub { my $x = shift; $x }};
our
On Aug 17, 2005, at 00:29 , Larry Wall wrote:
which gives us these possibilities.
大務big / (perform) duty
Perl6 to people here.
太夢fat, big / dream
Perl6 for the rest of us.
対夢oppose, against, pair / dream
Pugs?
待夢wait / dream
Perl6 to Oreilly ?
滞
On Tuesday, Nov 5, 2002, at 04:58 Asia/Tokyo, Larry Wall wrote:
(B> It would be really funny to use cent $B!q(B, pound $B!r(B, or yen (J\(B as a sigil,
(B> though...
(B
(BWhich 'yen' ? I believe you already know \ (U+005c -> REVERSE SOLIDUS)
(Bis prited as a yen figure in most of Japa
On Friday, Oct 11, 2002, at 23:21 Asia/Tokyo, Aaron Crane wrote:
> Vaguely heretical, I know, but I'd be inclined to do something like
> this:
>
> Perl 5 Proposed Perl 6
> $x && $y $x & $y
> $x || $y $x | $y
>
> $x & $ybitand($x, $y)
> $x | $ybitor($x, $y)
Objection, yo
15 matches
Mail list logo