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
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;
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. C works
> based on sequential examination of the target string to locate
> matching substrings on which to split.
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 l
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ß)" <[
[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 do
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
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
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 geometri
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 inde
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
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 struc
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 th
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
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 s
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.
On 2005-08-16 12:39, "Brano Tich‡" <[EMAIL PROTECTED]> wrote:
> A related question:
> I think it was stated, that the time will be some floating-point number.
> Will its precision be predetermined or will it be system-dependent?
> (Or maybe the precision is no-issue -- it could be important in comp
On 2005-08-16 16:45, "Nicholas Clark" <[EMAIL PROTECTED]> wrote:
> To me, 1.e5 is not ambiguous. But maybe I've had too much dealing with
> floating point in a previous life.
1e5 is not ambiguous. 1.0e5 is not ambiguous, just overprecise. 1.e5 is
ambiguous.
> I'd find it hard defending a langu
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'
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 repe
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_st
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-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-ta
> 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?!?
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 n
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
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 . . .
=> [[1, 4, 7], [2, 5, 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-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 lo
: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
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 iden
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 <日
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
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 distin
> 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 th
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 r
I take some of that back actually, left-to-right directionality has almost
nothing to do with understanding the < and > symbols. The arrow points in
the direction information is flowing, which is left-to-right for > but
right-to-left for <. I mean, ³>filename² is pointing at the file, so the
i
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
inst
39 matches
Mail list logo