develooper Front page | perl.perl6.language | Postings from July 2010

Re: Suggested magic for "a" .. "b"

Thread Previous | Thread Next
From:
Aaron Sherman
Date:
July 30, 2010 16:10
Subject:
Re: Suggested magic for "a" .. "b"
Message ID:
AANLkTin=_bzVcYx7FcuAv_Pbo+a7LY_SbSv-FpJmwpz2@mail.gmail.com
On Fri, Jul 30, 2010 at 6:45 PM, Doug McNutt <douglist@macnauchtan.com> wrote:
> Please pardon intrusion by a novice who is anything but object oriented.

No problem. Sometimes a fresh perspective helps to illuminate things.

Skipping ahead...

> Are you guise sure that the "..." and ".." operators in perl 6 shouldn't make use of regular expression syntax while deciding just what is intended by the programmer?

You kind of blew my mind, there. I tried to respond twice and each
time I determined that there was a way around what I was about to call
crazy.

In the end, I'm now questioning the difference between a junction and
a Range... which is not where I thought this would go. Good question,
though I should point out that you could never reasonably listify a
range constructed from a regex because "reversing" a regex like that
immediately runs into some awful edge cases. Still, interesting stuff.

-- 
Aaron Sherman
Email or GTalk: ajs@ajs.com
http://www.ajs.com/~ajs

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About