.)
-=- James Mastros
I suggest we keep match meaning thing you get when you run a thingy
against a string, and make matcher be the thingy that gets run?
100% agree with you, Allison; thanks for putting words to doesn't feel
right.
-=- James Mastros
, but
it compares as a range. 1.1 should ~~ 1..2; pugs thinking that's false is a
bug, not a feature.
Of course, that doesn't mean implementing range in a subset of perl6 without
it isn't interesting, and possibly useful for bootstrapping.
-=- James Mastros
we have to get 5`m / 30`s to work,
even though m is an operator, which AFAIK means it needs to be a macro,
or the moral equivalent (is parsed).
Also, having every unit be a like-named class would very much crowd the
root of the namespace.
-=- James Mastros
theorbtwo
then pushing the idea on perl6-language. It shouldn't be too
hard -- a matter of using the equivalent of perl5's UNIVERSAL::AUTOLOAD,
and the OUTER:: scope.
-=- James Mastros,
theorbtwo
or other to determine the behavior if they care.
Why is this a role, rather then just implementing postcircumfix:«[
]»(Whatever $self: Int $index) ? (I'd hope the error message is a bit
more newbie-friendly, but that's the only special-casing I see it
needing...)
-=- James Mastros
generation, for example
-- it makes you feel like you don't need to know HTML, when you do.)
-=- James Mastros
the FRF have existed in several
years, so it probably isn't that important...)
-=- James Mastros,
Who certainly looks forward to this.
again.
...unless read returns a Str but source(foo).
-=- James Mastros
Luke Palmer wrote:
James Mastros writes:
Does this imply that it's now possible to type Cmy @foo[23] = 42;, and
declare @foo? In the current perl, this doesn't work -- it's a syntax
error. It'd certainly make many constructs easier.
That looks weird to me. But as Rod points out, it can
error. It'd certainly make many constructs easier.
-=- James Mastros
they're there somewhere.)
-=- James Mastros
*I think I just broke two or three commandments.
there is optional.) (Until a little bit ago, that was $wheel.roll
or $wheel.«roll». (Note that I had to switch keyboard layouts again to
type that.))
-=- James Mastros
it. Of course, there
are a lot more people in the world then just me.
If you're a White Russian I suppose the yolk is on me.
In Russia, the yokes throw you!
-=- James Mastros,
theorbtwo
of their declarations).
-=- James Mastros,
theorbtwo
property of
thingies that gives the name that error messages will use to refer to
them. (I want to thank the man who made thingy the proper technical
term, BTW.) So what's it called?
-=- James Mastros
Nicholas Clark wrote:
On Tue, Sep 07, 2004 at 06:07:24PM +0200, James Mastros wrote:
4. The single-file, platform dependent, machine language executable
(realexe).
Which parrot can already do. (Or at least could, but I don't think that
anyone's been checking on it recently)
Er, right -- I'd meant
, but all the major bits are
things that should already be in the standard library (because a
front-end to C6PAN should come with, and that means extracting some sort
of .tar.gz files -- calling out to external utilities doesn't cut it too
often).
-=- James Mastros
PS -- Unreatedly, why, oh
normal quotes.
3) Some editors will give you one when you want the other.
- David ³wondering how likely curly-quotes are to come out right² Green
4) Many people think they're in Latin-1, but they aren't, they're only
in Microsoft's perversion of Latin-1.
-=- James Mastros
-- the
former repeats one thing, the later many... but what's the reasoning for
xxx, other then that it's like xx? How will users be able to remember
which is which?
-=- James Mastros,
theorbtwo
that won't disturb useful things that you'd want in
double-quotes -- which includes patterns common in any natural language,
which includes even the literal versions of / (which I can't type
easily at the moment).
-=- James Mastros
Austin Hastings wrote:
So, how wrong is this:
class VerticalYadda
{
extends Yadda;
multi method coerce:as($what) {
say Coercing VerticalYadda to ~ ($what as Str);
next METHOD;
}
}
sub *\U{VERTICAL ELLIPSIS}()
{
return new VerticalYadda;
}
=Austin
macro
,
and defining a second coercion from that to an IP address, that reruns
the lookup if the TTL has expired. The first coercion should take place
at compile time, the second not until runtime.
-=- James Mastros
a unary » operator for it?
Perhaps I'm just pessimistic this morning.)
-=- James Mastros
Mark J. Reed wrote:
One obvious reason for reaching out to unicode characters is the
restricted number of non-alphanumeric characters in ASCII. But why do
infix operators have to be non-alphanumeric?
They don't - but they do have to look like operators. Thanks to the
multiplication symbol,
Karl Brodowsky wrote:
Mark J. Reed wrote:
The UTF-8 encoding is not so attractive in locales that make
heavy use of characters which require several bytes to encode therein, or
relatively little use of characters in the ASCII range;
utf-8 is fine for languages like German, Polish, Norwegian,
no way to tell if a future eval STRING
(or equiv) might be useful.)
-=- James Mastros
slides on this at
http://perl.plover.com/yak/memoize-quant/ -- Quantitative Analysis of
Memoization.
-=- James Mastros
PS -- This is getting offtopic, even for p6l.
in PBC -- to whit, a constant float in different
compilation units will get different slots in the constant table, but
are really identical. The same is true of constant strings. (Constant
integers are inlined, and thus this doesn't apply to them -- they really
are identical.)
-=- James
(This is a reply to a mail accidently sent to me personaly instead of
the list. Buddha, care to resend your other mail? I havn't quoted it
in total.)
On 12/12/2002 9:43 AM, Buddha Buck wrote:
James Mastros wrote:
Here's my basic defintion of ID: Two things should have the same ID
for it to mean.
It would, logicaly, mean that the class Module has a method foo if
true -- applying can on an object tells you if the class of that object
can do somthing, and Main is an object of class Module... right?
(%Main:: is a hash, but Main (bareword) is an object, no?)
-=- James Mastros
block would like to be when
it grows up...
Or hypothetical variables in a non-regex context...
-=- James Mastros
all time.) If that'd require that an
object's ID be a combination of the header address and a generation
counter, that's OK. It means a serilization point in the allocator, but
I think we'd need one no matter what (Dan?).
-=- James Mastros
-bye universe! if ($_=42);
}
Will never compute anything after the first 41 element in @foo occours.
(I'm assuming map, grep, and any other list-oriented function that can
get away with it will act lazily when given a lazy-list argument.)
-=- James Mastros
On 12/05/2002 12:18 PM, Michael Lazzaro wrote:
On Thursday, December 5, 2002, at 02:11 AM, James Mastros wrote:
On 12/04/2002 3:21 PM, Larry Wall wrote:
\x and \o are then just shortcuts.
Can we please also have \0 as a shortcut for \0x0?
\0 in addition to \x, meaning the same thing? I
hex numbers,
but ugly decimal ones), but useful anyway).
-=- James Mastros
control-char
0c101 unsupported Consistentoctal string chars
unsupported
0t101 \t101 Consistentwhat's tab?
Or somthing else?
All choices are bad, which one is best?
-=- James Mastros
are for.
It's rather unfornate that we've run out of characters to use
for operators, but we've got to deal with it better then flipping
around operators willy-nilly.
-=- James Mastros
) Used for what it is intended for, it seems like a very concise,
expressive way to do multiple relationship tests without needing all those
s and such.
Indeed. (Though, as defined above, this won't work on the string
operations, only the numerics.)
-=- James Mastros
.
-=- James Mastros
. It will
be extremely confusing.
Yes, it will be, and /I/ wouldn't do it if I could avoid it.
OTOH, we're already talking about having support for multiple languages
(parsers) within one file, and having perl5 being another parser. Put them
together, and you get exactly this.
-=- James
element),
and lets us keep continuity.
Anyway, I'm fairly certian that I'll use iterators more then qw lists.
-=- James Mastros
).
-=- James Mastros
. Especialy that we don't need a qw() alternative.
However, I don't think Larry's in a convincable mood -- coughdotcough.
-=- James Mastros
glance at the 98. Basicly, if you assign to a list of lvalues, @returnlist,
it
will stop looking after it has found scalar(@returnlist) matches or
end-of-input.
-=- James Mastros
in many fonts.
BTW, I think that considering no-whitespace cases of indirect object is
quite silly -- does anybody acatualy use that?
This is the first I thought it wasn't a syntax error.
-=- James Mastros
changing because . is more standard. It isn't
standard to C or perl5. It's possible to misparse . as concat with . as
a sepperator on version-strings, but that's more of a problem with using it
for method-call.
-=- James Mastros
a URL an explicit act.
But I really mustn't spill too many half-digested beans here. :-)
If you have to, at least do it in the toilet.
P.S. Larry's Second Law of Language Redesign: Larry gets the colon.
May He (or You) do Good Things with it.
-=- James Mastros
--
The most beautiful
better system, use
a site-policy file, or bite the bullet and change the #! lines.
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all true art and science. He to whom this emotion is a stranger,
who can no longer pause to wonder an
it do the Right Thing. On the
gripping hand, when combined with other mesures, not so bad.
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all true art and science. He to whom this emotion is a stranger,
who can no longer pause
?
We want to make it as fast as reasonably possible. Writing a native
compiler might not be _reasonably_ possible. And an advanced GC will almost
certianly be part of perl6; they're orthogonal issues.
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious
, bingo. That's what a number of people (inculding me) are suggesting --
a :functional / :pure / :stateless / :somthingelseIdontrecall attribute
attachable to a sub.
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all true art
ough there's more to it then that).
Note that only the sign of the answer is gaurnteed, so it doesn't even have
to be internaly stateless -- but it probably doesn't make sense for it not
to be.
Give the braindead no head.
You might want to change that to "heed".
-=- James Mast
every time they are accessed, for example.)
I think that the difference between 43 dosn't matter. We only have things
in 4 and not 3 that vary in abs(), but not sign.
We're left with 12, and for 1, the sort won't work anyway.
So long as we consider 2 Just Plain Silly, we're OK memonizing.
-=- Jam
be spoken, so let it be done.
This isn't any more preverse then the "you can't assign to constants" rule.
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all true art and science. He to whom this emotion is a stranger,
who
On Wed, Mar 28, 2001 at 05:57:30PM -0500, James Mastros wrote:
[A bunch of stuff]
Oh, and I agree with sombody else on this thread that unless otherwise
stated, the sort should always assume statelessness (and thus the ability to
cache at will). If it's trivial to see that the sort function
. Twisted, even.
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all true art and science. He to whom this emotion is a stranger,
who can no longer pause to wonder and stand wrapt in awe, is as good as dead.
-=- Albert Einstein
) as doing things, then
they normaly are the subject, and _not_ the indirect-object (in the english
sense).
(Note, BTW, that both my german and my lingustics aren't so hot.)
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of al
know that I'd go so far as to
require it. I certainly wouldn't complain, though.
I'd think /perl/ should complain if your comparison function isn't
idempotent (if warnings on, of course). If nothing else, it's probably an
indicator that you should be using that schwartz thang.
-=- James
On Mon, Mar 26, 2001 at 06:31:22PM -0500, Dan Sugalski wrote:
At 04:04 PM 3/26/2001 -0500, James Mastros wrote:
The only way f(a) can not be stable and f(a) = f(b) can be is somthing of
a corner case. In fact, it's a lot of a corner case.
You're ignoring side-effects.
Damm. I hate it when I
, it might not be as
effecent as a hand-crafted schwartzian, but will be at least as efficent as
a naieve straight sort (except in pathalogical cases, like tsort((^_),
(^_=^_), @list)).
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all
_)], @list;
does what I intendeded. (Where ex $sort = sub {$_[0] cmp $_[1]}, and
$attrib = sub {lc $_}.) (Of course, this doesn't always use the optimal
form.)
-=- James Mastros
--
The most beautiful thing we can experience is the mysterious. It is the
source of all true art and sc
tempt to dereference undef" will work.
-=- James Mastros
--
"All I really want is somebody to curl up with and pretend the world is a
safe place."
AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
On Wed, Feb 14, 2001 at 09:59:31AM -0500, John Porter wrote:
James Mastros wrote:
I'd think that an extension to delete is in order here. Basicly, delete
should DESTROY the arg, change it's value to undef,...
Huh? What delete are you thinking of? This is Perl, not C++.
Umm, perldoc -f
allocated since the last GC run exced a certian critical
value.
(I /think/ a dictionary would agree with me, but I'm not about to get pissy
and look them up.)
I was saying that we should do 1 and 3, but not 2.
-=- James Mastros
cessary (I think) for a pool, which I assumed. Bad James, bad.
-=- James Mastros
--
"All I really want is somebody to curl up with and pretend the world is a
safe place."
AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
ate).
I'm fond of post, myself. Simply means "subsequent to", literaly (m-w.com,
post-, 2a. Yes, I'm anal sometimes.) "Always" makes me say "but when", and
"later" seems like the wrong part-of-speech to me.
-=- James Mastros
--
"All I really w
code from RSA. However, it shouldn't be a problem, since RSA's
pattent (in the US, anyway, and I don't think they pattented anywhere else)
has timed out.
-=- James Mastros
--
"All I really want is somebody to curl up with and pretend the world is a
safe place."
AIM: theorbtwo
cial things with
files in that directory (like set up symlinks from the normal man dirs).
BTW, this plan would make it painful to do with perl5 setups, since they
commonly have odd dir structures.
-=- James Mastros
--
"All I really want is somebody to curl up with and prete
On Mon, Feb 12, 2001 at 06:56:47PM -0300, Branden wrote:
James Mastros wrote:
magical "install" script in them that knows how to do special things with
files in that directory (like set up symlinks from the normal man dirs).
That probably should be in Perl's Config.pm, since P
t (IE a CATCH/POST/catch/finaly/whathaveyou) returns. (And if
it does, that blocks all execption processing.)
You can mess with the return arbitrarly if we support return-stack visiblity.
-=- James Mastros
--
"All I really want is somebody to curl up with and pretend the world is a
safe place."
AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
(for me) to think of when you'd want an AUTOLOADed DESTROY,
since if you create /any/ objects of the class, DESTROY will be called.
"It isn't possible to AUTOLOAD DESTROY." --perlmem(6)
-=- James Mastros
--
"All I really want is somebody to curl up with and pretend the world is a
s
that hard.)
-=- James Mastros
--
"All I really want is somebody to curl up with and pretend the world is a
safe place."
AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
real array, only a list. (I
don't think that will be a problem, though.)
[stuff about manual vs. automatic return-stack elminition]
Yeah, you're probably right. But return-as-assignment has certian nice
features from a stylistic viewpoint as well as an optimizational one.
-=- James Mastros
--
any scope not a do, require, eval, or
sub-call.)
-=- James Mastros
--
"My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers
fought, land where our King was shot -- from every building top, let freedom
happen!"
-=- Monique, Sinfest[.net]
AIM:
On Sun, Feb 04, 2001 at 05:30:59PM +0100, Johan Vromans wrote:
James Mastros [EMAIL PROTECTED] writes:
And I always hated that about VB and Pascal -- you can assign to the magic
variable, but can't modify it.
That was before the invention of auto-assignment operators. In the
70s
).
I think the current method is probably best for us.
-=- James Mastros
--
"My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers
fought, land where our King was shot -- from every building top, let freedom
happen!"
-=- Monique, Sinfest[.net]
AIM:
nd I
don't even know what XPG4 is.)
Speaking of contract names, is Damien about?
-=- James Mastros
--
"My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers
fought, land where our King was shot -- from every building top, let freedom
happen!"
-=- Monique
t;'"s, but that's going to be thrown out, I assume).
-=- James Mastros
--
"My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers
fought, land where our King was shot -- from every building top, let freedom
happen!"
-=- Monique, Sinfest[.net]
AIM: theo
mthing radicly different (like returning time-of-day instead)
would be changing it's soul.
And I don't think we should be keeping code-level compatablity just for the
sake of same any more then we should be destroying it just because we can.
-=- James Mastros
--
"My country 'tis of the
u try, you don't error, you
recruse. And perl will happily recruse until you run out of memory, and VB
will give a stack overflow, and take down the IDE and your code unless
you're careful.
-=- James Mastros
--
"My country 'tis of thee, of y'all i'm rappin'! Lan where my brothers
fought,
of time() slightly without changing to a
different function name? Yes, it will silently break some existing code,
but that's OK -- remember, 90% with traslation, 75% without. being in that
middle 15% isn't a bad thing.
-=- James Mastros
--
"My country 'tis of thee, of y'all i'm rappin'!
, and
resolution and accuracy best-reasonably-available.)
If you really want time() to do what it did before, you can always say:
sub time {int (CORE::time()) + epoch difference};
Indeed, a perl5::time module that does exactly that might be a Good Thing.
-=- James Mastros
--
"My country
ller app:
/([$matchingpairs])(.*?)(?{local $_=eat 1; $_ eq ${$matchingpairs[$1]}
\$1)/
It doesn't handle nesting thingies, but it's close.
(Assumes $matchingpairs{'('}=')'..., and $matchingpairs=join '', keys
%matchingpairs.)
-=- James Mastros
From: "Nathan Wiger" [EMAIL PROTECTED]
Sent: Friday, September 29, 2000 12:51 AM
James Mastros wrote:
As far as setting|getting, I'd like to make a simple proposal. Consider
it
an idea for whoever writes the RFC (I'm looking at you, Nate)
Oh, jeez, as if I didn't have enou
ibute on the value of
$hash{elem}, not on the spot in the hash.
I don't know what a good syntax for the hash position would be. And I've
got other work to do now.
-=- James Mastros
Creating attributes:
--
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GUCS d--- s-:- a20 C++ UL+++@ P+
-language* lists
as well as I probably should. Too much trafic, to little time.
-=- James Mastros
--
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GUCS d--- s-:- a20 C++ UL+++@ P L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e++ h! r- y?
--END
end-user's account. Think
cgi_wrapper without spawning a new interpreter.
-=- James Mastros
--
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GUCS d--- s-:- a20 C++ UL+++@ P L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e++ h! r- y?
--END GEEK CODE BLOCK--
trict "taint"' == 'use taint'
'use warnings "taint"' == 'use taint warnings'
(You'd have to put the warnings/errors about 'no taint' in the 'notaint'
set.)
-=- James Mastros
and not where the sub being autoloaded
was acatualy written.
Most of the rest would require siginificant overhead on all programs that
might get debugged (the debugger is a module; you don't necessarly have to
start it from the commandline). Use a tags program. G
-=- James Mastros
--
-BEGIN
at you're "joining" the thread
back into the "tapestry" of the program, so the join()d point should behaive
like the original function did.
-=- James Mastros
On Sat, Aug 26, 2000 at 08:24:19PM -0500, Dave Rolsky wrote:
This is an interesting idea. I would think that ideally it would be
combined with pre-declared limited keyspace hashes (which we currently
have in a semi-crippled way with pseudohashes).
This seems like a fairly orthagonal thing
, but
won't allow as much expressiveness.
-=- James Mastros
--
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GUCS d--- s-:- a20 C++ UL+++@ P L++@ E-() N o? K? w@ M-- !V
PS++ PE Y+ PGP(-) t++@ 5+ X+++ R+ tv+ b+++ DI+ D+ G e++ h! r- y?
--END GEEK CODE BLOCK--
On Sat, Aug 19, 2000 at 07:57:34AM +1000, Jeremy Howard wrote:
The choice of algorithms is a great idea, but why do we need a modifier?
Isn't it a pretty straightforward set of rules that allow us to decide if a
DFA matcher will work?
clintonWell, that all depends what the meaning of the word
value can be written in pure perl.
-=- James Mastros
warnings, like... I
can't think of any).
The value of onuncaught should follow isa if it doesn't exist.
-=- James Mastros
attribute, and then
assigns 42 to it.
OTOH, the constant attribute is set after the assignment -- otherwise the
assignment would
always be in error!
-=- James Mastros
float synthax will be extended to include "NaN" and
"Inf" as valid
floating-point numbers. (This does take away from non-reserved namespace.)
Has this
been proposed yet?)
-=- James Mastros,
In slightly over his head.
98 matches
Mail list logo