You can write a sub to return the next step:
sub bondigi { state $n=1; return (, xx $n,
xx $n++); }
but I think an idiomatic Perl 6 solution would have a proper lazy
Iterator. How do we write one of those?
ht up, although with the addition
> of Unicode operators Perl 6 could now go ahead.)
Perhaps Perl 6 should not aspire to the expressiveness of APL. :) As
nice as it is that you can write Conway's Life in a one-liner(*), I
think that a little verbosity now and then is a good thing for
legibility.
So how is this:
> Any infix operator (except for non-associating operators) can be surrounded
> by square brackets in term position to create a list operator
> that reduces using that operation:
reconciled with this:
> Any ordinary infix operator may be enclosed in square brackets with the sam
+ inside and the list as argument...
The operator '[+]', which you get by applying the meta-operator
'[...]' to the infix binary operator '+', is a prefix list operator.
So that much makes sense. But I still think the two different
meanings of square brackets in operators are going to confuse people.
--
Mark J. Reed
ially related: why doesn't simple &+ or &<+> work for what we're
currently spelling &[+] (and which is more specifically spelled
&infix:<+>)?
On 5/28/09, Larry Wall wrote:
> On Thu, May 28, 2009 at 09:43:58AM -0400, Mark J. Reed wrote:
> : So that much
ecessarily binary, but while prefixes tend to be
slurpy, I was thinking one could also declare a prefix op with a
finite arity. And does [...] only reduce if what's inside is an
operator? How do you do a reduce using a plain old binary subroutine?
--
Mark J. Reed
ght-alt + [ and ].
Mac (standard US keyboard): option + \ for «, same key shifted for »
Linux: Lots of variables: X input manager, modifier keymap, etc. But
digraphs work in vim: control-K < < and control-K > >
--
Mark J. Reed
; | Name: Tim Nelson | Because the Creator is, |
>> | E-mail: wayl...@wayland.id.au | I am |
>> -
>>
>> BEGIN GEEK CODE BLOCK
>> Version 3.12
>> GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++
>> PGP->+++ R(+) !tv b++ DI D G+ e++> h! y-
>> -END GEEK CODE BLOCK-
>>
>
>
--
Mark J. Reed
--
Mark J. Reed
ator behind Perl's design. So while it should be
considered, it's not a knockout punch to say "but logic doesn't work
that way."
--
Mark J. Reed
/09, Aristotle Pagaltzis wrote:
> * Moritz Lenz [2009-07-10 00:25]:
>> stat($str, :e) # let multi dispatch handle it for us
>
> This gets my vote.
>
> --
> Aristotle Pagaltzis // <http://plasmasturm.org/>
>
--
Sent from my mobile device
Mark J. Reed
0.
On Fri, Jul 10, 2009 at 3:16 PM, yary wrote:
> +1 on using ln() instead of log()
>
> Also, systems I know of that implement both log() and ln() default
> ln() with base e, as perl6 does, log() uses base 10.
>
--
Mark J. Reed
scripts don't do logs, in
> EITHER sense of the word. I don't want to replace one bit of namespace
> clutter with another one. All you web guys can use the Apache::log
> method, or whatever.)
>
> =Austin
>
--
Sent from my mobile device
Mark J. Reed
My reply to the message Aaron sent directly to me by mistake...
-- Forwarded message --
From: Mark J. Reed
Date: Fri, Jul 10, 2009 at 7:23 PM
Subject: Re: Re-thinking file test operations
To: Aaron Sherman
You replied just to me, you know.
> In re-thinking it, we don
On Sat, Jul 25, 2009 at 5:03 AM, Moritz Lenz wrote:
> Presumably you want here-docs, which can be indented in Perl 6:
>
> perl 6 code
> perl 6 code
> $script.say(Q:to);
> output code
> output code
> END
>
> The leading whitespace will be pruned from the string.
All
at are aware of whether they're being used as singular or plural.
>
> --
> Jonathan "Dataweaver" Lang
>
--
Sent from my mobile device
Mark J. Reed
Wrong reply button...
-- Forwarded message --
From: "Mark J. Reed"
Date: Mon, 10 Aug 2009 07:36:52 -0400
Subject: Re: Rukudo-Star => Rakudo-lite?
To: Gabor Szabo
That has the same problem as lots of other themes - it puts a hard
limit on the number of releases b
Given the Japanese behind the name Rakudo, "rakudone" looks like a
question: "Rakudo, right?" Beats "rakuod", though.
On 8/10/09, James Fuller wrote:
> how about
>
> 'raku'
>
> then the final version could be called
>
> 'rakudone'
>
> Jim Fuller
>
--
Sent from my mobile device
Mark J. Reed
lly
interchangeable. :)
I still like the double-bracket idea. I don't much mind the extra
character; 5 characters total still beats the 7 of HTML/XML.
--
Mark J. Reed
etter.
Nope. Have to use the drive letter. But / is understood as a synonym
for \ by the Windows API.
--
Mark J. Reed
ich does a
search/replace on the current working directory; the bash equivalent
"cd ${PWD/old/new}" which is not quite as handy. $*CWD could make
that simple, too.
--
Mark J. Reed
as chdir() has. What am I missing?
>>
>>
>
> chdir is a familar function with predictable behaviour.
> $*CWD, as a variable that "magically" changes to something other than
> what it was set to, is unfamiliar and unpredictable.
>
> Now there's nothing wrong with introducing new, unfamiliar
> functionality, if it provides a discernible benefit, but that doesn't
> seem to be the case here.
>
> --
> Carlin
>
--
Sent from my mobile device
Mark J. Reed
Er, that "basename" down there should be a "dirname", for those
playing along at home. Memo to self: do not type long screeds on
Blackberry...
On 8/18/09, Mark J. Reed wrote:
> It would be nice if the bikeshed had aluminum siding. Er, I mean, if
> chdir() changed *
On Tue, Aug 18, 2009 at 6:59 AM, Carlin Bingham wrote:
> 2009/8/18 Timothy S. Nelson :
>> On Tue, 18 Aug 2009, Mark J. Reed wrote:
>>
>> It's not in the revised spec, but I think that, even though we've
>> revived chdir, we should still have it so that ch
oot
Password:
j...@krakas ~ # _
But USER isn't even a shell-maintained variable. It's set by login();
the shell just inherits it. A better example would be UID - which is
readonly.
--
Mark J. Reed
On Tue, Aug 18, 2009 at 10:26 AM, Timothy S.
Nelson wrote:
> Ok, so suppose we only allowed direct assignment to absolute paths?
Is there an echo in here? :)
--
Mark J. Reed
not exported by default, so
$ENV{UID} in Perl should be unset. Try your experiments without
exporting UID.
In any case, %ENV isn't readonly in Perl. But neither are the contents
of %ENV managed by Perl - just inherited from the parent process.
--
Mark J. Reed
:).
>
>
> -
> | Name: Tim Nelson | Because the Creator is,|
> | E-mail: wayl...@wayland.id.au| I am |
> -
>
> BEGIN GEEK CODE BLOCK----
> Version 3.12
> GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
> PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI D G+ e++> h! y-
> -END GEEK CODE BLOCK-
>
>
--
Sent from my mobile device
Mark J. Reed
, then chdir(), then exec()
- but in Windows it may be trickier.
--
Mark J. Reed
nternally. What we should have, though, is a standard way to
> represent the types in Perl so that users know how to deal with them.
> I think roles are the obvious choice: if the OS tells you that a file
> is HTML, then $file would do IO::Datatype::HTML, which means in turn
> it would also do IO::Datatype::Plaintext, and so on.
>
> Of course, if the OS tells you you've got a file that does
> IO::Datatype::Illudium-phosdex, and you want to *do* something with
> it, you'll need a module that knows what to do with that kind of
> file. Perl by itself knows only how to treat it as a string of raw
> bytes. Well, or as plain text. So you can treat your HTML file as
> plain text, or you can use HTML::Doc::Tree and treat it as something
> fancier.
>
>
> -David
>
>
--
Sent from my mobile device
Mark J. Reed
named
> args and proto-objects.
> (2009-08-19 12:05:29) jnthn: It passes the relevant bits to each BUILD.
> (2009-08-19 12:05:42) moritz_: jnthn: right now, yes. We were discussing
> possible enhancements
> (2009-08-19 12:06:09) __ash__: do i need anything else in the subject
> other than [PATCH]? and is it an attachment or the contents in the email?
> (2009-08-19 12:06:11) r0bby left the room (quit: Read error: 104
> (Connection reset by peer)).
> (2009-08-19 12:06:16) r0bby [n=wakaw...@guifications/user/r0bby] entered
> the room.
> (2009-08-19 12:06:30) masak: Kentrak: only the other day, I found out
> that you can easily create a new() multimethod which does delegation
> using callsame(|$args) or nextsame(|$args). that might be what you want.
> (2009-08-19 12:06:36) Kentrak: jnthn: yes, aware of that, looking for a
> way to not have to redefine multiple pieces to accomplish what I think
> should be a simple feat, defining an initializer with custom params
>
> --
>
> -Kevan Benson
> -A-1 Networks
>
--
Sent from my mobile device
Mark J. Reed
the rectangle formed by z1 and
z2, which is a viable (if nonlinear) definition of "between". You can
only get a Boolean answer, but it's a valid question.
That's just nitpicking, though. It's perfectly reasonable to fail()
if someone tries to construct a Range/Series/Interval out of Complex
numbers. We can use a different class for complex rectangles if we
need them.
--
Mark J. Reed
denominator. But for
>> floats I would only see the interval as reasonably clear. Even a step
>> of 1 is coming with some problems, because an increment of 1 does not
>> have any effect on floating point numbers like 1.03e300 or so.
> Yes. Exactly my point. By the way, do we
range.interval
>
> I'm new in town though, so I'll happily admit that I don't know the full
> implications of such a change. Having context-insensitive Ranges DWIM's
> better to me, but DWIMery, like beauty, is clearly in the eye of the
> beholder! :)
>
> Cheers,
> --
> smuj
>
--
Sent from my mobile device
Mark J. Reed
t; $b?" is a common test, and so should be short. I'd rather require you
> to force it into list context if your goal is to test for set
> membership. In fact, that might be a clean way of handling its dual
> nature: in item context, it behaves as a Range object; in list
> context, it behaves as the RangeIterator. So:
>
> 2.5 ~~ 1..5 # true: equivalent to "2.5 ~~ 1 <= $_ <= 5".
> 2.5 ~~ @(1..5) # false: equivalent to "2.5 ~~ (1, 2, 3, 4, 5)".
>
> Incidently, this first example is why I think that Range is intimately
> related to the various order-related operators, and in particular
> before and after: its most common use outside of generating sequential
> lists is to provide a shorthand for "$min before $_ before $max" and
> similar range-testing expressions.
>
> --
> Jonathan "Dataweaver" Lang
>
--
Sent from my mobile device
Mark J. Reed
I thought I recalled seeing that the new convention was .p6m, .p6l,
etc. I guess that idea was abandoned?
--
Mark J. Reed
Duration objects.
> +The following attribute is declared:
>
> =over
>
> @@ -226,6 +227,20 @@
>
> =back
>
> +The following methods provide additional information
> +
> +=over
> +
> +=item week-of-year
> +
> +=item day-of-week
> +
> +=item week-of-month
> +
> +=item year-of-week
> +
> +=back
> +
> =head2 Gregorian::Duration
>
> The gregorian Duration declares the following attributes.
>
>
--
Mark J. Reed
it is an error
> +Variables with native types do not support undefinedness, it is an error
> to assign an undefined value to them:
>
> my int $y = undef;# dies
>
>
--
Mark J. Reed
re a "method space" for arbitrary combinations of roles,
a sort of meta-role. It's an odd duck, but it does sort of fall out
of the multiple-dispatch semantics, which already let you base
implementation chioce on arbitrary combinations of roles...
--
Mark J. Reed
takes us back to Jon's branch of the thread: it would be nice to
be able to declare such an override in a general way that will apply
to any such composition that doesn't otherwise override it locally.
But what should that declaration look like?
--
Mark J. Reed
(In Windows: perl -ple "$_=eval" )
>
> Enter the command `exit` to end the session.
>
>
> --
> Just my 0.0002 million dollars worth,
> Shawn
>
> Programming is as much about organization and communication
> as it is about coding.
>
> I like Perl; it's the only language where you can bless your
> thingy.
>
--
Mark J. Reed
cribes tr/// in terms of the .trans function, a handsome but
> very different beast. Specifically, it doesn't seem to have a "scalar
> context", with which one could count things.
>
--
Mark J. Reed
"it"s with different antecedents there. Might want to
toss in a noun or two.
--
Mark J. Reed
On Wed, Feb 17, 2010 at 7:32 PM, Carl Mäsak
wrote:
> my @a = (4...^5); say @a.perl # should be 4 3 2 1 0 1 2 3 4, according to
> TimToady
That's 4 ... ^5, right? If so, I don't see how you get that. I'd
expect (4,0,1,2,3,4), without the countdown between 4 and 0.
--
Mark J. Reed
ich was midnight UT on November 17, 1858 (the epoch of VMS
system time).
I note that Rakudo currently uses the time_t value directly. I think 1
Jan 1970 is a poor choice of epoch for TAI time; having time values so
close to but not the same as time_t values would create undue
confusion.
--
Mark J. Reed
lbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
> system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
> electrical and computer engineering, carnegie mellon university KF8NH
>
>
>
--
Mark J. Reed
On Mon, Feb 22, 2010 at 1:13 PM, Daniel Ruoso wrote:
> Em Dom, 2010-02-21 às 21:28 -0800, Larry Wall escreveu:
>> On Sat, Feb 20, 2010 at 10:39:20AM -0500, Mark J. Reed wrote:
>> : I just want to know what Perl 6 time zero is.
>> Well, there's no such thing as time 0 in
On Mon, Feb 22, 2010 at 1:31 PM, Mark J. Reed wrote:
> Not according to S0, which says that an Instant will numify to the
^
S02.
> number of TAI seconds since "the TAI epoch". That's not opaque.
--
Mark J. Reed
above, the
labels will be UTC - which they pretty much have to be since that's
what humans use - then Perl6 is using UTC, not TAI. It's just using
*real* UTC, not POSIX's broken idea of it that claims 24 seconds out
of the past 40 years never happened.
--
Mark J. Reed
uts and outputs of Temporal are UTC, then Perl
is using UTC, not TAI. Is it TAI internally? Well if it's
manipulating years, months, days, hours, and minutes as their TAI
values, then yes, but if it's just working with an absolute count of
atomic seconds, then there's no reason to say that it's TAI vs. UTC,
because at that level, they completely agree with each other.
--
Mark J. Reed
a count of atomic seconds,
great. That, however, is not TAI. UTC and TAI and the proposed
leap-second-free UTC-replacement "TI" all tick at the same rate and at
the same time, and you can devise any number of time scales that do
likewise, differing only in the labels.
--
Mark J. Reed
On Wed, Feb 24, 2010 at 1:12 AM, Steve Allen wrote:
> Hello Mark Reed and Larry Wall
Brought back to the whole list; Larry and I were hardly the only two
folks involved in this discussion.
> On Feb 23, 6:35 am, markjr...@gmail.com ("Mark J. Reed") wrote:
>> OK, this
I believe, and then all the other parsing rules would come into effect
> following that elimination, except for the big one that any literal
> continuation chars inside a quoted string are taken as normal characters as
> usual.
>
> So can we please have this continuation marker thing, and what do you think
> it should look like?
>
> Thank you in advance.
>
> -- Darren Duncan
>
>
--
Mark J. Reed
On Wed, Mar 3, 2010 at 6:26 PM, Darren Duncan wrote:
> Mark J. Reed wrote:
>>
>> Doesn't unspace work for this?
>
> It would seem that S02 says otherwise:
>
> Although we say that the unspace hides the whitespace from the parser, it
> does not hide whit
-07#i_2073717
>
> I'm not sure what exactly the repercussions of doing attribute
> initialization with 'is ref' are apart from that. Brandon, if your
> oblique reference to Algol 68 meant something more than what I
> uncovered above, feel free to enrich the discussion by sharing what
> you know about the possible consequences of spec'ing things this way.
>
> Now if you'll excuse me, I'll go back to doing little to make the
> compiler writers' task easy. :-P
>
> // Carl
>
--
Mark J. Reed
| Because the Creator is, |
> | E-mail: wayl...@wayland.id.au | I am |
> -
>
> BEGIN GEEK CODE BLOCK
> Version 3.12
> GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- PE(+) Y+>++ PGP->+++
> R(+) !tv b++ DI D G+ e++> h! y-
> -END GEEK CODE BLOCK-
>
--
Mark J. Reed
be impracticalities in just 'adding pattern matching'.
>
> Scala case classes: http://www.scala-lang.org/node/107 or
> http://programming-scala.labs.oreilly.com/ch06.html#CaseClasses
>
>
--
Mark J. Reed
passed; got 0 but expected 1
> [...]
>
> The error message is perhaps slightly LTA, but at least Rakudo
> (correctly) fails to match.
>
> // Carl
>
--
Mark J. Reed
dered in place of discrete.
In CSland, I suspect "atomic" is too strongly associated with
operations to be applied to a data type that has nothing to do with
multithreading or transactional integrity.
--
Mark J. Reed
ncements on p6l is about as relevant as having Perl 5 release
>> announcements on mailing lists for individual Perl modules, or DBI release
>> announcements on the DBIx-Class list, say. -- Darren Duncan
>>
>
> Darren -
>
> FYI, Copenhagen was a Rakudo release, not a parrot release.
>
> Regards.
>
> --
> Will "Coke" Coleda
>
--
Mark J. Reed
<@foo> / -- A list of ||-style alternations of things to be
> compiled into Regexes (unless they already are)
> / <{ ... }> / -- Result of capture is interpolated as a Regex,
> compiling if necessary
> / / -- Unchanged
> / { ... } / -- Capture is merely executed, but not interpolated.
> (Unchanged)
>
--
Mark J. Reed
On Sat, Apr 3, 2010 at 2:18 PM, wrote:
> [P6 Spec] completely changed S32::Temporal
>
What motivated these changes?
> +Time is just a jumbled iTem.
>
iTem?
> +=item * 12hour
>
> +=item * 24hour
I don't like using strings for these. Feels like they should be symbols,
but they they can't s
wouldn't mind making the change. Though maybe we
> should take a step backward and just remove :to altogether on
> the grounds that it doesn't belong, and is more confusing than useful.
> :)
>
> // Carl
>
--
Mark J. Reed
ptime
> * DateTime::Duration
> * ops: $dt + $dur, $dt - $dur, $dt - $dt
>
> Expect these in the next few days or so.
>
> // Carl
>
--
Mark J. Reed
is_valid('2010-02-29'), that returns whether constructing
> such a DateTime would be legal (in the sense of 'no exceptions
> thrown'). It feels comforting to always leave a way for the API
> consumer to find things out without resorting to CATCHing exceptions.
>
> // Carl
>
--
Mark J. Reed
stead of May 31.
On Friday, April 9, 2010, Mark Biggar wrote:
> On 4/9/2010 4:53 AM, Moritz Lenz wrote:
>
> Am 09.04.2010 13:34, schrieb Mark J. Reed:
>
> The date still corresponds to an actual day. If I set it to Feb 31, I
> should get back Mar 2 or 3 depending on the year. Wh
sonal preferences; I greatly prefer dashes in
> almost all of the code I write. But I acknowledge that most of the
> programmers out there seem to expect underscores -- and also, the aim
> was to produce a small delta from CPAN's DateTime and not change
> around things ad lib.
>
> // Carl
>
--
Mark J. Reed
d to an integer.
>
>The C method returns the C object
>
> (i.e. only C<.from_epoch()> actually uses underscore).
>
> Oh, and the optional C<:timezone> argument to C<.new()> should probably
> become C<:time-zone> for consistency with the C<.time-zone()> method
> (or, preferably, we should jut bite the bullet and go with C
> throughout).
>
> Damian
>
--
Mark J. Reed
ead of either supress it
> > or use an underscore...
>
> These nuances are exactly what will be lost on people who see classes
> that use both underscores and hyphens in their method names.
>
> -John
>
--
Mark J. Reed
antage of this scheme that I can think of.
> The disadvantages, which affect everyone, are many and bigger:
> search/replace headaches, novice confusion, adding to Perl's "syntax
> infamy," etc.
>
> (Besides, I'm sure you can Acme::-up something that implements this
> scheme in Perl 6 for your own devious purposes anyway… ;)
>
> -John
>
--
Mark J. Reed
antage of this scheme that I can think of.
> The disadvantages, which affect everyone, are many and bigger:
> search/replace headaches, novice confusion, adding to Perl's "syntax
> infamy," etc.
>
> (Besides, I'm sure you can Acme::-up something that implements this
> scheme in Perl 6 for your own devious purposes anyway… ;)
>
> -John
>
--
Mark J. Reed
icitly as a
superset (subrole) of Date, with a method for extracting just the Date
portion built in to DateTime.
--
Mark J. Reed
On Mon, Apr 12, 2010 at 6:38 AM, Mark J. Reed wrote:
> I think that having a standard, minimal API for this defined in core as a
>> Date role would be ideal.
>
>
> Agreed. In fact, I'd like to see DateTime be defined explicitly as a
> superset (subrole) of Date, wi
ccepts all of these as named arguments, allowing several values to be
> set at once:
>
> @@ -175,12 +175,12 @@
> values, and an exception is thrown if the result isn't a sensible date
> and time.
>
> -If you use the C public accessor to adjust the time zone, the
> +If you use the C public accessor to adjust the time zone, the
> local time zone is adjusted accordingly:
>
> my $dt = DateTime.new('2005-02-01T15:00:00+0900');
> say $dt.hour; # 15
> - $dt.time_zone = '+0600';
> + $dt.timezone = '+0600';
> say $dt.hour; # 12
>
> The C method allows you to "clear" a number of time values
>
>
--
Mark J. Reed
creates a dynamic scope for an srand: e.g. "temp srand { ... };"
>
That seems like a reasonable solution.
--
Mark J. Reed
, it may have both of those, with the
difference you indicated. It's all about choosing the right name. :)
Whatever you call it, it's a valuable function, I'm just arguing that it's
not "truncation" unless you're talking about a calendar where you number
Sunday-based weeks from a given epoch.
--
Mark J. Reed
etics on C objects, two more
> +methods are exposed:
> +
> + $d.daycount
> + Date.new-from-daycount(Int $daycount)
> +
> +The C method returns the difference of number of days between the
> +current object and an arbitrary start of epoch. This epoch is arbitrary and
> +implementation dependent, and is even allowed to change between invocations
> of
> +the same program. The C constructor creates a new C
> +object with a given daycount.
> +
> =head1 Additions
>
> Please post errors and feedback to C. If you are making
>
>
--
Mark J. Reed
"
On Friday, April 16, 2010, Mark J. Reed wrote:
> or at least, Date should have a method that returns it's value as
> pairs suitable for passing to DateTime.new.
Obviously that should be "its value". Thank you, iPhone, for thinking
you know better than I how to
efit of a Date object
over a DateTime object that simply has its time fields zeroed, which is
flexibility. The latter is still by implication tied to a specific swath of
spacetime (e.g. midnight to midnight in some time zone), whereas the former
is free to refer to whatever the human date designation can.
--
Mark J. Reed
se $date - $start_of_epoch to
> obtain a day count starting from a fix epoch
--
Mark J. Reed
plementations of methodicals in terms of other
> > language
> > > features. First, it is possible to treat methodicals as ordinary
> methods
> > > (monkey typing under the hood), but with generated names; the true name
> > is
> > > bound to the program name only within the correct scope. If possible,
> > the
> > > methods should be treated as anonymous, accessible only though an
> opaque
> > name
> > > object. Care must be taken to prevent incorrect exposure of private
> > fields and
> > > methods.
> > >
> > > Alternatively, a methodical can be desugared to a multi sub with the
> same
> > scope
> > > as the methodical itself, changing statically named method calls into
> > calls to
> > > the methodical. This gives reflection invisibility and privacy for
> free,
> > but
> > > may require more work to get the multi call semantics exactly right.
> > >
> > > Thoughts?
> > >
> > > -Stefan
> > >
> > > -BEGIN PGP SIGNATURE-
> > > Version: GnuPG v1.4.9 (GNU/Linux)
> > >
> > > iEYEARECAAYFAkvOpjcACgkQFBz7OZ2P+dKJ4wCfUpWUDv2/PqYUF1k0hsYaiAns
> > > HFAAn2K5SfcJnGq5xk1PIy0QG69LMrwR
> > > =uvrz
> > > -END PGP SIGNATURE-
> > >
> > >
> >
>
--
Mark J. Reed
> propose it'd be about 365.25 Gregorian days (although I'd much prefer an
> international standard to my Indo-European ways :) ).
>
> Overall, I think you have a great idea. As long as the filters are
> implemented simply, I think it will prove to be the best option.
>
> --
> Don't Panic!
>
>
--
Mark J. Reed
letting CPAN/etc be the language, especially where complexity comes in.
>
> It also means that temporal modules can be bundled with Perl, but that is a
> choice made by the Perl packagers, not the Perl core, same as deciding what
> templating or networking or database or whatever modules to bundle.
>
>
>
--
Mark J. Reed
on of these code points. (and
U+x for all valid values of x up through 0x10) are invalid so they
can be used as sentinel values within application memory, for
instance. Whereas U+FFFE is illegal precisely because it's the
inverse of the BOM.
--
Mark J. Reed
error reminding Perl 5 users to use dot instead. (The "pointy block"
use of C<< -> >> in Perl 5 requires preceding whitespace when the arrow
^
Shouldn't that read "in Perl 6"?
--
Mark J. Reed
Is it possible with the new parameter declaration syntax to declare
a mandatory name-only parameter?
-Mark
On 2003-08-01 at 09:54:57, Dave Whipp wrote:
> A junction on one element is almost always redundant, and can be cast
> directly into the scalar that is its eigenstate. The only issue with doing
> that is that certain junction methods might not be available. However, in
> the case of a C, an abjunct
On 2003-08-05 at 16:10:46, Dan Sugalski wrote:
> At 1:02 PM -0700 8/5/03, Dave Whipp wrote:
> >Can I discriminate on parameter names using multi subs?
>
> Nope. Named parameters don't participate in MMD.
1. I'm thinking MMD should be called something else when being applied
to multisubs rather
[Recipients trimmed back to just the list, because it had gotten very
silly. When replying to someone who's on the list, there's no need to
copy them personally, too; they just end up with duplicates. :)]
On 2003-09-15 at 09:21:18, Piers Cawley wrote:
> Great. But will it also be possible to add
On 2003-11-25 at 18:17:04, Piers Cawley wrote:
>aString replace: aPattern with: aString.
>
>aString replaceAll: aPattern with: aString.
Stop! Stop that at once! No small talk; we're here for
serious discussions!
:)
> Except... the second argument isn't strictly a string because it's
>
On 2003-11-25 at 19:53:09, Piers Cawley wrote:
> Is that how Ruby does it then?
=begin RubyDigression
Ruby's String class has the methods sub (replace once) and gsub
(replace all), which leave the invocant alone and return the
result of the substitution, and sub! and gsub!, which modify the
invoc
On 2003-11-25 at 13:46:39, John Williams wrote:
> On Mon, 24 Nov 2003, Jonathan Scott Duff wrote:
> > or maybe throw some latin in there
> >
> > while $n++ et @accum < $total { ... }
> > while $n++ cum @accum < $total { ... } # maybe?
>
> I think "ac" is the latin conjunction you
On 2003-11-26 at 12:13:39, chromatic wrote:
> Consider Perl 5, where File::Find is a core module. While the interface
> may have been nice in 1995 (though I doubt even that), it's been widely
> regarded as awful for at least three years. It's likely never to be
> removed from the core. File::Fin
On 2003-12-10 at 15:05:09, The Perl 6 Summarizer wrote:
> Oh yes, if you've not been following, "^op" (ie, the vector operators)
> has become " >>op<< " which is, if nothing else, a right swine to write
> in a POD C<> escape.
Eh, >>op<< is just a hack for people who can't type C<»op«>
chromatic> With Apocalypse 12 (soon!)
RobinBerjon> how soon? :)
LarryWall> here's the rough outline
[indicating that it's pretty soon indeed]
Cool! But now I'm a little confused - what happened to Apocalypses 8
through 11? :)
-Mark
Should Perl6::Slurp be added to Bundle::Perl6? Or is that not being kept
up-to-date?
--
Mark REED| CNN Internet Technology
1 CNN Center Rm SW0831G | [EMAIL PROTECTED]
Atlanta, GA 30348 USA | +1 404 827 4754
On 2004-03-13 at 09:02:50, Karl Brodowsky wrote:
> For these guys Unicode is not so attractive, because it kind of doubles the
> size of their files,
Unicode per se doesn't do anything to file sizes; it's all in how you
encode it. The UTF-8 encoding is not so attractive in locales that make
heav
On 2004-03-16 at 00:28:32, Karl Brodowsky wrote:
> Mark J. Reed wrote:
>
> >Unicode per se doesn't do anything to file sizes; it's all in how you
> >encode it.
>
> Yes. And basically there are common ways to encode this: utf-8 and utf-16
> (or similar varian
On 2004-03-20 at 22:32:18, Calle Dybedahl wrote:
> You don't need Unicode display « and », just plain old ISO 8859-1.
> They're characters number 171 and 187 there. And AFAIK every Emacs
> version released in the past ten years handles ISO-8859-1 out of the
> box. It's more likely that you're usin
Juerd: your message arrived in my inbox as an attachment due to a mail server
along the way not recognizing the "charset" value. It should be "utf-8"
with the hyphen, not "utf8". Also for that reason all the non-ASCII
characters (like the Yen symbol) came through as '?' here.
> Kara Perlistoj,
On 2004-03-26 at 08:16:07, Larry Wall wrote:
> And "say" isn't in there because of APL or PHP. It's actually inspired
> by something worse in Ruby.
Presumably by "something worse" you mean "puts"? Not a great name, to
be sure, but it does have a venerable tradition behind it. :)
I do like ha
201 - 300 of 436 matches
Mail list logo