On 2006-01-18 10:04 AM, David K Storrs [EMAIL PROTECTED] wrote:
Just to show opposite, I've always found that behavior (i.e.
returning the original string unchanged) confusing. Csplit works
based on sequential examination of the target string to locate
matching substrings on which to split.
On 2006-01-17 12:24 PM, Gaal Yahas [EMAIL PROTECTED] wrote:
While cleaning up tests for release:
.split(':')=
()# Perl 5
(,) # pugs
Which is correct? It doesn's seem to be specced yet.
I would prefer the current pugs behavior; it's consistent
On 2005-11-07 1:30 PM, Andrew Rodland [EMAIL PROTECTED] wrote:
Especially when that complexity isn't optional. I
think that's really a common fear, that Perl 6 is going well beyond that
point of sensibility.
If you want to get into personal beliefs, I think that function signatures are
such
On 2005-10-25 11:17 AM, Michele Dondi [EMAIL PROTECTED] wrote:
I find $__ confusing, and prefer $OUTER::_, which already exists.
Hmmm... maybe you're right that $__ is too huffmanized (and hence
confusing) but $OUTER::_ is somewhat too few...
What's confusing about $__ is that it looks too
Speaking of which, the advantage of, say, « over is that the former
is _one_ character. But Y, compared to ¥, is one character only as
well, and is even more visually distinctive with most fonts I know of,
afaict, so is there any good reason to keep the latter as the
official one?!?
I can't
On 2005-10-21 10:10 AM, Steve Peters [EMAIL PROTECTED] wrote:
I saying that, since my up-to-date version of vi on my up-to-date OpenBSD
can't type, much less even allow me to paste in, a Latin-1 character, this
is an issue.
If you're using stock vi rather than vim or elvis or at least nvi,
On 2005-10-21 1:54 PM, Nate Wiger [EMAIL PROTECTED] wrote:
BTW, C and PHP both use - still.
C++ is probably more relevant than C, but since it inherited the syntax,
same diff. But in their case the underlying form is still a dot; A-B is
just syntactic sugar for (*A).B. The distinction involved
Is there a CPAN module which provides the functionality of ¥/zip() for
Perl5? I don't see anything obvious in the Bundle::Perl6 stuff. Not hard
to write, of course, just wondering if it's been done . . .
, 8], [3, 6, 9]]
How would you write the above in Perl6, given that ¥/Y is an infix operator?
On 2005-10-21 5:32 PM, Mark Reed [EMAIL PROTECTED] wrote:
Is there a CPAN module which provides the functionality of ¥/zip() for
Perl5?
On 2005-10-15 15:28, Ilmari Vacklin [EMAIL PROTECTED] wrote:
On Sat, Oct 15, 2005 at 09:49:30AM -0700, Larry Wall wrote:
On Sat, Oct 15, 2005 at 07:39:36PM +0300, wolverian wrote:
: IMHO just call it self (by default) and be done with it. :)
Let it be so.
Somewhat off-tangent: does this
On 2005-10-10 13:36, Ingo Blechschmidt [EMAIL PROTECTED] wrote:
Under the proposal, a Pair object doesn't have any special
magic
Right. So under this proposal, the key = value syntax is overloaded: in
some contexts it creates a Pair object, and in others it assigns a value to
a named
On 2005-09-23 06:08, Juerd [EMAIL PROTECTED] wrote:
In my opinion, making the string value in interpolation different from
the value in Str context is madness.
Hear, hear! I agree 100%. This is another place where we should move the
Rubyometer down rather than up, I think (to_s vs. to_str,
On 2005-09-21 03:53, Yuval Kogman [EMAIL PROTECTED] wrote:
On Tue, Sep 20, 2005 at 21:09:09 +0200, Juerd wrote:
Mark Reed skribis 2005-09-20 14:31 (-0400):
This has so little redundancy that it makes very little sense to want to
avoid repeating that very short encode_entities($item-label
On 2005-09-20 14:23, Yuval Kogman [EMAIL PROTECTED] wrote:
On Tue, Sep 20, 2005 at 18:19:42 +, [EMAIL PROTECTED] wrote:
2: if the middle part does something that changes the value of the
expression $condition then the new construct again has a different meaning.
Err, that's the point
On 2005-08-15 10:07, Nicholas Clark [EMAIL PROTECTED] wrote:
Spain adopted the Gregorian Calendar in 1582. Surely setting my locale to
Spain should make the Julian/Gregorian jump show up in 1582, not 1752?
Arguably so, but I don't think there's anywhere in the POSIX localization
data structures
On 2005-08-15 13:07, Mark A. Biggar [EMAIL PROTECTED] wrote:
3) use Astronomical Dates which are kept as the number of days sense
noon Jan-1-4713 BC.
More specifically, that's the astronomical Julian Day, or JD, and JD 0 began
at noon Universal Time (a.k.a. GMT) on January 1, 4713 BC in the
On 2005-08-15 15:04, Doug McNutt [EMAIL PROTECTED] wrote:
At 13:31 -0400 8/15/05, Mark Reed wrote:
If anyone gets serious about Julian dates there is also the Modified Julian
Date, MJD, used by the US military and others. It differs from the JAD above
by a large well-defined integer plus 1/2
On 2005-08-15 13:56, Larry Wall [EMAIL PROTECTED] wrote:
I'm personally rooting for everyone to abandon leap seconds for civil time.
While you're at it, why not wish for DST to go away (or to become permanent
year-round, whichever)? Heck, toss in world peace, too. :)
But POSIX stretchy
On 2005-08-15 13:56, Larry Wall [EMAIL PROTECTED] wrote:
Perl 6 will natively think of dates as number of floating point TAI
seconds from the year 2000. You can build any kind of date interface
on top of that, but we're going for simplicity and predictability.
I applaud that decision. I just
Coming in late here, but it seems odd to have an actual class called
MetaClass. The meta-object protocols with which I am familiar have the
concept of a metaclass (a class whose instances are themselves classes), and
the class Class is such a metaclass, but where does a class named MetaClass
fit
Seems like you left out the degenerate case for when you run out of pairs:
sub infix:!! (Scalar $x, 0) { $x }
On 2005-08-05 16:24, Yuval Kogman [EMAIL PROTECTED] wrote:
On Fri, Aug 05, 2005 at 11:36:16 -0700, Larry Wall wrote:
There's something to be said for having a way of indexing
On 2005-07-11 23:46, Damian Conway [EMAIL PROTECTED] wrote:
3. Work out the Manhattan distance from the argument list to each
variant's parameter list.
OK, sorry if I missed this in an earlier discussion. For purposes of
calculating this Manhattan distance, I gather that we're
On 2005-07-12 12:22, TSa (Thomas Sandlaß) [EMAIL PROTECTED]
wrote:
I am also interested in the rationale behind the approach to manage MMD
my means of a metric instead of a partial order on the types.
Metric is a geometric concept which in my eyes doesn't fit type
theory.
The geometric
On 2005-05-30 05:15, TSa (Thomas Sandlaß) [EMAIL PROTECTED]
wrote:
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
[1,2,3] is not an array or a list. It is a reference to an anonymous array.
It is not 3 values; it¹s 1 value, which happens to point to a list of size
3. If you assign that to an array via something like @a = [1,2,3], I would
expect at least a warning and possibly a compile-time error.
If it
On 2005-05-25 13:54, Juerd [EMAIL PROTECTED] wrote:
3. If you assign that to an array via something like @a = [1,2,3], I would
expect at least a warning and possibly a compile-time error.
If it does work, it probably gets translated into @a = ([1,2,3]), which
That's not a
I would really like to see ($x div $y) be (floor($x/$y)) and ($x mod $y) be
($x - $x div $y). If the divisor is positive the modulus should be
positive, no matter what the sign of the dividend. Avoids lots of special
case code across 0 boundaries.
On 2005-05-23 18:49, TSa (Thomas Sandlaß)
On 2005-05-17 14:14, Peter Haworth [EMAIL PROTECTED] wrote:\
Does numbering of captures after an alternation continue as if the
alternative with the most captures matched?
# $1$1 $2$3, even if (a) matched
rx/ [ (a) | (b) (c) ] (d) /;
I thought that was still like
On 2005-05-02 15:52, Juerd [EMAIL PROTECTED] wrote:
Gaal Yahas skribis 2005-05-02 22:25 (+0300):
open 'ls', '|-'; # or even
open 'ls', :pipe = 'from'
I dislike the hard-to-tell-apart symbols '' and '' for modes. 'r' and
'w' are much easier, and get rid of the awful
the
information is flowing into the file; ³filename² is pointing away from the
file, so the info is flowing out of it. I don¹t see how it could be any
clearer than that.
On 2005-05-02 16:13, Mark Reed [EMAIL PROTECTED] wrote:
On 2005-05-02 15:52, Juerd [EMAIL PROTECTED] wrote:
Gaal Yahas skribis 2005
On 2005-05-02 16:35, Juerd [EMAIL PROTECTED] wrote:
What are the characters around the code supposed to be, by the way? Your
mailer tells my mailer that you're sending iso-8859-1, but I seriously
doubt that.
Argh. Bad Entourage, no biscuit. Back to Mail as soon as I get Tiger
installed,
Jonathan Lang wrote:
When you take the square root of a number, you actually get one of two
possible answers (for instance, sqrt(1) actually gives either a 1 or a
-1).
Not quite. It¹s true that there are two possible square roots of any given
number, but sqrt(1) is defined as the
I¹m only an amateur linguist, but from a linguistic point of view, there are
several related terms in this space.
The term ³subject² has many meanings in English, including ³topic². But
from a grammatical and linguistic standpoint, there are only two meanings of
³subject², and ³topic² is a
Anyway, is there any other URI scheme besides for mailto: that doesn't use
://?
It¹s optional for news:; news:comp.lang.perl is a valid URI for accessing that
Usenet newsgroup via whatever your default news server is.
There aren¹t any slashes in the aim: scheme (not part of the IANA
I thought we had just established that nbsp is not in Unicode¹s definition
of whitespace. So why should \s match it?
On 2005-04-15 18:56, Larry Wall [EMAIL PROTECTED] wrote:
On Sat, Apr 16, 2005 at 12:46:47AM +0200, Juerd wrote:
: Larry Wall skribis 2005-04-15 15:38 (-0700):
: : Do \s and
On 2005-04-11 15:00, Juerd [EMAIL PROTECTED] wrote:
I'm not even sure I like the *possibility* of using non-ascii letters in
identifiers, even.
I agree that it would be a nightmare if project A used presu instead of
print everywhere, while project B used toon, etc. But non-ASCII
On 2005-04-11 15:40, gcomnz [EMAIL PROTECTED] wrote:
.chars would return [EMAIL PROTECTED]@, which can probably be
expressed
with UTF8?
The string is probably represented internally as UTF-8, but that
should have no effect on what .chars returns, which should, indeed, be
[EMAIL PROTECTED],
:set encoding=utf8
:set fileencoding=utf8
The first controls the display, the second file saves. Vim has to have been
compiled with multibyte support, though.
From: Aaron Sherman [EMAIL PROTECTED]
Date: Mon, 4 Apr 2005 17:01:58 -0400
To: Larry Wall [EMAIL PROTECTED]
Cc: Perl6 Language List
38 matches
Mail list logo