, tgrep { not ref $_ } $h; # Flatten to list of
strings
print( x $level, $title, \n);
}
would print a heading summary with indentation.
Perl can already do some pretty LISPy things, so why not some TREPpy
things, too?
Regards,
-- Gregor
,
-- Gregor
Michael Lazzaro [EMAIL PROTECTED]
01/30/2003 02:25 PM
To: [EMAIL PROTECTED]
cc:
Subject:Arrays: is computed
For Cis computed arrays, things get more complicated. Since there
are no true 'holes' in a primitive-typed array, the correct behavior
given object may support none, one or both.
Regards,
-- Gregor
Aaron Sherman [EMAIL PROTECTED]
01/30/2003 03:15 PM
To: Damian Conway [EMAIL PROTECTED]
cc: Perl6 Language List [EMAIL PROTECTED]
Subject:Re: arrays, hashes unified indexing syntax impact
Sounds like a job for a bot!
(couldn't resist)
-- Gregor
Jonathan Scott Duff [EMAIL PROTECTED]
02/04/2003 11:38 AM
Please respond to duff
To: Buddha Buck [EMAIL PROTECTED]
cc: Miko O'Sullivan [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject:Re
flux exceeds limit %d\n, BOGON_LIMIT];
}
Also, there was a doesNotRecognize: method that was called by the runtime
system when method lookup failed. I presume you could override it to do
nasty things, but I never did that myself.
Regards,
-- Gregor
Seems like you are thinking along the lines of making Parrot support
Prevayler-style
http://www-106.ibm.com/developerworks/web/library/wa-objprev/index.html
stuff naturally and with less coding at the top layer. Is that where you
are headed with
this?
Regards,
-- Gregor Purdy
Sam
Ellipse-like 'set' methods elsewhere. Circle
could inherit from the EllipseGettable but not EllipseSettable
(since you can ask for, but not set the semi axes).
Regards,
-- Gregor Purdy
Nicholas Clark [EMAIL PROTECTED]
03/15/2003 06:48 PM
To: [EMAIL PROTECTED] [EMAIL PROTECTED
;
Or maybe even something like this:
sort :numerically :as { $^a.foo('bar').compute } @unsorted;
Regards,
-- Gregor
On Wed, 2004-02-11 at 19:11, Luke Palmer wrote:
I've been thinking about this problem which comes up in my code a lot:
@sorted = sort { $^a.foo('bar').compute = $^b.foo
,
-- Gregor
--
Gregor Purdy[EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
in the header.
I suppose
... odd = sub { Act, $act, Scene $scene ... }, ...
would work, though.
Regards,
-- Gregor
--
Gregor Purdy[EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
of infinite j. The example output shows that the
extracted string isn't quite maximal. It tries to keep words together
(this rule is detailed elsewhere, but this example doesn't refer to
that extraction rule).
--
Gregor Purdy[EMAIL PROTECTED]
Focus Research, Inc
the
set of valid option identifiers *for Cform* come from, and are they
tied *to Cform*, or floating in a global space, free to collide
with other (option key) identifier declarations?
It seems like there's more to this story...
Regards,
-- Gregor
--
Gregor Purdy
of the initial field? If so,
are error messages generated if there is overlap?
Regards,
-- Gregor
--
Gregor Purdy[EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
The Exegesis mentions the Perl6::Slurp module, but I don't see it
on CPAN. Is it just a race condition?
Regards,
-- Gregor
--
Gregor Purdy[EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
But, since E7 doesn't come right out and say it, I'm asking for
clarification. Still could be that you are right and there is nothing
to see here, though...
Regards,
-- Gregor
On Sat, 2004-02-28 at 07:46, Smylers wrote:
Gregor N. Purdy writes:
...we're guaranteed that the key
some heuristics to guess? What are the edge cases?
Regards,
-- Gregor
On Sat, 2004-02-28 at 07:39, Smylers wrote:
Gregor N. Purdy writes:
In And now at length they overflow their banks. its not clear
how an overflow field gets tied to its initial non-overflow field.
In the recipe example
Damian --
Good. I don't remember where I first heard about doing it that way
vs. from the left, but the results going from the right to left
are typically better looking than from left to right, and I use that
way exclusively now.
Regards,
-- Gregor
On Sat, 2004-02-28 at 15:54, Damian Conway
();
equivalent to
$foo = $foo.someOtherMethod();
when $foo's class or someOtherMethod() implementation doesn't do
anything special?
Regards,
-- Gregor
On Wed, 2004-03-10 at 21:29, Larry Wall wrote:
On Wed, Mar 10, 2004 at 10:46:05PM -0500, matt wrote:
: I was thinking along the lines
-k to get «
ctrl-k to get »
Regards,
-- Gregor
On Fri, 2004-03-19 at 05:39, Rafael Garcia-Suarez wrote:
Andy Wardley wrote in perl.perl6.language :
I'm so happy! I just found out, totally by accident, that I can type
the « and » characters by pressing AltGr + Z and AltGr + X
Oh, and the ctrl-k form doesn't require you to do the
:set digraph thing. Its always available.
Regards,
-- Gregor
On Fri, 2004-03-19 at 06:16, Gregor N. Purdy wrote:
For me, (vim 6.2), that is
bs to get «
bs to get »
after doing
:set digraph
(list of available digraphs
,
-- Gregor
On Tue, 2004-04-13 at 08:12, Luke Palmer wrote:
David Cantrell writes:
A few days ago I briefly discussed with Nicholas Clark (current perl 5.8
pumpking) about making perl5 code forward-compatible with perl6. A
quick look through the mailing list archives didn't turn up anything
; # or, whatever
# More Perl 6 stuff here
use python; # you get the idea
...
Regards,
-- Gregor
On Wed, 2004-04-14 at 12:59, Aaron Sherman wrote:
On Wed, 2004-04-14 at 09:29, Gregor N. Purdy wrote:
So, we are moving in a more verbose direction, which is a bummer for
people who like
:) You have used use syntax
which falls under the category of # or whatever in my message.
Regards,
-- Gregor
On Wed, 2004-04-14 at 18:51, Brent 'Dax' Royal-Gordon wrote:
Gregor N. Purdy wrote:
#!/usr/bin/perl6
... # Perl 6 stuff here
use 5; # or, whatever
# Perl 5 stuff
23 matches
Mail list logo