Re: r28017 - in docs/Perl6/Spec: . S32-setting-library

2009-08-19 Thread Aaron Crane
, perhaps it would be better to provide a more direct method of doing that (preferably using fchdir where available). -- Aaron Crane ** http://aaroncrane.co.uk/

Re: r27106 - docs/Perl6/Spec

2009-06-18 Thread Aaron Crane
names should be Cutf-8, Cutf-16, Cutf-32. -- Aaron Crane ** http://aaroncrane.co.uk/

Re: r25775 - docs/Perl6/Spec

2009-03-10 Thread Aaron Crane
, with its suggestion of whatever the Match found? -- Aaron Crane ** http://aaroncrane.co.uk/

Re: r25182 - docs/Perl6/Spec

2009-02-04 Thread Aaron Crane
specifies fcntl(F_SETLK) in place of traditional BSD-ish flock(). I'd be in favour of having .fcntl in IO::POSIX, but with an additional role providing .flock (IO::Flock, presumably). -- Aaron Crane ** http://aaroncrane.co.uk/

Re: r25182 - docs/Perl6/Spec

2009-02-04 Thread Aaron Crane
Daniel Ruoso writes: Em Qua, 2009-02-04 às 16:45 +, Aaron Crane escreveu: pugs-comm...@feather.perl6.nl writes: +=item method Int read($buf is rw, int $length) I'm not sure that using a native int is the right thing here. If whatever the implementation uses as int is narrower than

Re: r25182 - docs/Perl6/Spec

2009-02-04 Thread Aaron Crane
, that doesn't mean users shouldn't get access to POSIX dup() for when it *is* what they want. I agree that also providing a less surprising method would be a good thing, assuming it can be widely implemented. But it needn't live in IO::POSIX. -- Aaron Crane ** http://aaroncrane.co.uk/

Re: r24809 - docs/Perl6/Spec

2009-01-09 Thread Aaron Crane
-accessible way of achieving the same thing. -- Aaron Crane ** http://aaroncrane.co.uk/

Re: [svn:perl6-synopsis] r14522 - doc/trunk/design/syn

2008-03-17 Thread Aaron Crane
.pod Mon Mar 17 10:37:26 2008 +In any case, list assignment is defined to be arbitrarily lazy, +insofar is it basically does the obvious copying as long as there And insofar as. -- Aaron Crane ** http://aaroncrane.co.uk/

Re: [svn:perl6-synopsis] r14442 - doc/trunk/design/syn

2007-08-30 Thread Aaron Crane
[EMAIL PROTECTED] writes: +defaults to a sequence of 0 values. If any native type is explicitly +initialized to C* (the CWhatever type), it is left unitialized. s[un ( ) it] = 'in'; (Assuming I've got that syntax correct, anyway.) -- Aaron Crane

Re: [svn:perl6-synopsis] r14432 - doc/trunk/design/syn

2007-08-04 Thread Aaron Crane
still permit things like $^Item, or caseless letters (Han characters, Japanese kana, Hangul, Devanagari, Thai, Hebrew, Arabic, etc). Maybe even may not consist solely of uppercase Latin-script letters; that would permit uppercase Greek and Cyrillic and so on. -- Aaron Crane

Re: Generalizing ?? !!

2007-06-22 Thread Aaron Crane
; # Now $b is 17 -- Aaron Crane

Re: Generalizing ?? !!

2007-06-22 Thread Aaron Crane
Daniel Hulme writes: On Fri, Jun 22, 2007 at 03:40:37PM +0100, Aaron Crane wrote: my $b = 1 0 || 42; # Now $b is 17 s/17/42/ or vice-versa, I think. Uh, yes. Serves me right for trying to change metasyntactic numbers midstream. -- Aaron Crane

Re: [svn:perl6-synopsis] r14414 - doc/trunk/design/syn

2007-06-03 Thread Aaron Crane
and Presumably that should be number of times. -- Aaron Crane

Re: request new Mapping|Hash operators

2007-03-18 Thread Aaron Crane
there's certainly motivation to wrap this up in a function or operator, it doesn't strike me as something particularly difficult, or necessarily more worthy of inclusion in Perl 6.0.0 than anything else. -- Aaron Crane

Re: request new Mapping|Hash operators

2007-02-27 Thread Aaron Crane
). But I need these operations does not imply Perl 6.0.0 needs these operations. -- Aaron Crane

Re: [svn:perl6-synopsis] r13700 - doc/trunk/design/syn

2007-02-22 Thread Aaron Crane
[EMAIL PROTECTED] writes: +be referred to as C COMPILING$?LINE if the bare C$?LINE would That looks like it's missing a double-colon. -- Aaron Crane

[OT] Re: [svn:perl6-synopsis] r13540 - doc/trunk/design/syn

2007-01-28 Thread Aaron Crane
), and also reads it one further time (to determine the result of the addition), so it's undefined. -- Aaron Crane

Re: [svn:perl6-synopsis] r13516 - doc/trunk/design/syn

2007-01-07 Thread Aaron Crane
[EMAIL PROTECTED] writes: +the top rule. This may be overridden in either the base grammar or a +derived grammer by explicitly naming a rule top, or defining your There's a typo there -- grammer for grammar. -- Aaron Crane

Re: [svn:perl6-synopsis] r12398 - doc/trunk/design/syn

2006-09-26 Thread Aaron Crane
regexes to always use the Cm or Crx prefix sounds inadvisable on Huffman grounds. -- Aaron Crane

Re: [svn:perl6-synopsis] r11287 - doc/trunk/design/syn

2006-08-21 Thread Aaron Crane
[EMAIL PROTECTED] writes: +To pass a regex with leading whitespace you must use the parenthsized form. ... +To pass a string with leading whitespace you must use the parenthsized form. Hi. I think that needs an s:g/parenthsized/parenthesized/ -- Aaron Crane

Re: multi-line comments, C macros, Pod abuse

2006-08-18 Thread Aaron Crane
... # with unmatched pointies } -- Aaron Crane

Re: [svn:perl6-synopsis] r10758 - doc/trunk/design/syn

2006-08-10 Thread Aaron Crane
to say value-based? -- Aaron Crane

Re: [svn:perl6-synopsis] r10539 - doc/trunk/design/syn

2006-08-02 Thread Aaron Crane
[EMAIL PROTECTED] commits: +If the first character is a plus or minus, the initial identifier taken +as a character class, so s/taken/is taken/ -- Aaron Crane

Re: [svn:perl6-synopsis] r9725 - doc/trunk/design/syn

2006-07-28 Thread Aaron Crane
in declarations: my $foo is context; say CONTEXT::$foo; versus my $foo is ambient; say AMBIENT::$foo; -- Aaron Crane

Re: S04 - forbidden coding-style

2006-07-22 Thread Aaron Crane
statement_modifier:if from statement_control:if, for both humans and the compiler. One option might be to require an extra token (a postfix complementizer?) before a statement modifier. Maybe something like this: return $foo --- if $something; -- Aaron Crane

Re: Perl5 - Perl 6 Translations Design Document

2006-06-06 Thread Aaron Crane
{...} instead of @{[...]} is definitely a good thing. -- Aaron Crane

Re: new sigil

2005-10-22 Thread Aaron Crane
the last time I encountered it was on a dot-matrix printer manufactured in the 1980s. Hmmm. Encode.pm doesn't seem to have support available for any of the ISO 646 character sets. I feel a patch coming on. -- Aaron Crane

Re: Nested captures

2005-05-10 Thread Aaron Crane
. -- Aaron Crane

Re: The Sort Problem

2004-02-12 Thread Aaron Crane
internally, for example. Just for kicks, this one demonstrates all the features. It's the same as before, but in descending order: @unsorted == sort infix:=, desc = 1, key = { $_.foo('bar').compute } == @sorted; What problems can anyone spot with this suggestion? -- Aaron Crane * GBdirect

Re: The Sort Problem

2004-02-12 Thread Aaron Crane
Luke Palmer wrote: Aaron Crane writes: @unsorted == sort infix:=, desc = 1, key = { $_.foo('bar').compute } == @sorted; I don't like the Cdesc flag. But I can't, at the moment, think of any way around it short of: @unsorted == sort { $^b = $^a }, key = { .foo

Re: is static?

2003-03-18 Thread Aaron Crane
a sub, for example. -- Aaron Crane * GBdirect Ltd. http://training.gbdirect.co.uk/courses/perl/

Re: Comparing Object Identity (was: Re: Stringification of references (Decision, Please?))

2002-12-12 Thread Aaron Crane
(). That is, should the programmer be allowed to determine whether two apparently-identical numbers have the same representation, or should .id() fudge the issue by pretending that all representations of a number of a given type are identical. -- Aaron Crane * GBdirect Ltd. http

Re: purge: opposite of grep

2002-12-06 Thread Aaron Crane
Sean O'Rourke writes: On Thu, 5 Dec 2002, Sean O'Rourke wrote: how 'bout tang for Tog's A Negated Grep? Gah. s/Tog/Tang/. Wouldn't that mean we had to rename grep to 'gnat'? (Gnat's Not A Tang, presumably, never mind rot13 and reversal...) -- Aaron Crane * GBdirect Ltd. http

Re: seperate() and/or Array.cull

2002-12-05 Thread Aaron Crane
in @ARGV which matched. I'm not so fond of that -- I don't think it's as obvious that you're doing a two-way classification. -- Aaron Crane * GBdirect Ltd. http://training.gbdirect.co.uk/courses/perl/

Re: [RFC] Perl6 HyperOperator List

2002-10-30 Thread Aaron Crane
as an extra 'you might also see this' affair. Anyway, that was a bit of a rant, but what I mean is: I'd actually be in favour of avoiding backtick entirely in operators. -- Aaron Crane * GBdirect Ltd. http://training.gbdirect.co.uk/courses/perl/

Re: [RFC] Perl6 HyperOperator List

2002-10-30 Thread Aaron Crane
along at home, I think that means the match operator has to be ~~ or =~, but I can live happily with either of those. -- Aaron Crane * GBdirect Ltd. http://training.gbdirect.co.uk/course/perl/

Re: Perl6 Operator List, Damian's take

2002-10-29 Thread Aaron Crane
, the rule ordering didn't matter with the add a leading ^ to hype rule. I think I prefer the first one, by the way -- it strikes me as more obviously a vector add. -- Aaron Crane * GBdirect Ltd. http://training.gbdirect.co.uk/courses/perl/

Re: perl6 operator precedence table

2002-10-13 Thread Aaron Crane
) the parens are required. And in Icon it's done with backtracking, not superpositions. -- Aaron Crane * GBdirect Ltd. http://training.gbdirect.co.uk/courses/perl/