Re: Language design

2015-07-13 Thread Jan Ingvoldstad
On Tue, Jul 14, 2015 at 12:04 AM, Michael Zedeler wrote: > > So far, almost every other language has behaved this way, and it has > worked. I can see that Rats do solve a problem, but if you'd claim that it > is very severe then I'd disagree. This is a minor nuisance that I'd only > pay a small pr

Re: Licensing: Perl 6 specification and test suite

2013-11-05 Thread Jan Ingvoldstad
On Tue, Nov 5, 2013 at 3:36 PM, Moritz Lenz wrote: > I have no idea if the AL2 is well suited for sets of documents, as the > specification is. I'll leave that decision to Larry. > To anyone in doubt: please note that I'm not Larry, I'm not an authority, I'm just opinionated. :) Considering tha

Re: Licensing: Perl 6 specification and test suite

2013-11-05 Thread Jan Ingvoldstad
On Tue, Nov 5, 2013 at 3:09 PM, Kalinni Gorzkis wrote: > Can I distribute and modify the Perl 6 specification documents and test > suite under which conditions? If not, I propose that they should be > distributed under the Artistic License 2.0. > That is an excellent question. I've checked the g

Re: Underscores v Hyphens (Was: [perl6/specs] a7cfe0: [S32] backtraces overhaul)

2011-08-24 Thread Jan Ingvoldstad
On Wed, Aug 24, 2011 at 11:19, Smylers wrote: > > > Could we have underscores and hyphens mean the same thing? That is, Perl > 6 always interprets illo-figut and illo_figut as being the same > identifier (both for its own identifiers and those minted in programs), > with programmers able to use ei

Re: [perl6/specs] 761178: remove some some duplicate words words

2010-09-08 Thread Jan Ingvoldstad
On Wed, Sep 8, 2010 at 07:41, Jason Switzer wrote: > > I'm surprised anyone actually ever read the diff part of the message. I > would prefer to never see that feature again. This has a link to the > commit, > which has a much better diff viewer than plaintext email (hello? 1997 > called, they wa

Radix (base) conversion

2010-07-23 Thread Jan Ingvoldstad
Hi. I was fiddling about with a small example of how nice radix adverbials are for conversion: my $x = 6*9; say :13($x); rakudo: 69 ($x = 54 in base 10, but 54 in base 13 is 69 in base 10.) Strangely enough, I cannot find a way — in the spec — of both treating a number as something in base 13

Re: Proposal for a new Temporal time-measurement paradigm

2010-04-24 Thread Jan Ingvoldstad
On Sun, Apr 25, 2010 at 02:31, Doug McNutt wrote: > Agree on a format for storing fractional atomic seconds. There are > proposals for two word integers with one of them being micro or nano seconds > and the other seconds. I prefer IEEE floating point with atomic seconds as > the unit of measure

Re: Proposal for a new Temporal time-measurement paradigm

2010-04-24 Thread Jan Ingvoldstad
On Sun, Apr 25, 2010 at 00:46, Darren Duncan wrote: > All details specific to any calendar, including Gregorian, including > concepts like seconds or hours or days, should be left out of the core and > be provided by separate modules. Said modules can be self-contained, just > say using Perl's or

Re: Gripes about Pod6 (S26)

2010-02-12 Thread Jan Ingvoldstad
On Fri, Feb 12, 2010 at 14:57, Carl Mäsak wrote: > Again, thanks for your efforts so far. The discussions over the years > have shown at least me what an ungrateful task it is to be redesigning > Pod for Perl 6. > Yep, thanks, Damian! Fortunately, doing _whatever_ for Perl 6 seems to be mostly

Re: One-pass parsing and forward type references

2010-02-01 Thread Jan Ingvoldstad
On Mon, Feb 1, 2010 at 17:46, Patrick R. Michaud wrote: > There's a third way: > >class B { ... }# introduce B as a class name without definition > class A { sub foo { B::bar } } > >class B { sub bar { A::foo } } > > The first line is a literal "..." in the body of the class -- it

Re: String to Regex

2010-01-04 Thread Jan Ingvoldstad
On Sun, Jan 3, 2010 at 8:30 PM, Moritz Lenz wrote: > > But since $input can contain closures, arbitrary code can be executed. > I'd like to propose a way to compile a string to a regex which doesn't > allow code execution. > So would I. I would also like it to be the default behaviour, since th

Re: r28523 - docs/Perl6/Spec/S32-setting-library

2009-10-01 Thread Jan Ingvoldstad
On Thu, Oct 1, 2009 at 11:03 PM, Minimiscience wrote: > On Oct 1, 2009, at 4:43 PM, Jan Ingvoldstad wrote: > >> On Thu, Oct 1, 2009 at 10:15 PM, Moritz Lenz wrote: >> >>> What's the 0th root of a number, then? >>> It would be a number $y for which $y **

Re: r28523 - docs/Perl6/Spec/S32-setting-library

2009-10-01 Thread Jan Ingvoldstad
On Thu, Oct 1, 2009 at 10:15 PM, Moritz Lenz wrote: > > > What's the 0th root of a number, then? > It would be a number $y for which $y ** 0 == $x, which can only be > fulfilled for $x == 1. So in the general cases the answer to the > question root($x, 0) is nonsense, which is best mapped to NaN.

Re: Custom object constructors

2009-08-20 Thread Jan Ingvoldstad
On Thu, Aug 20, 2009 at 10:44 PM, Kevan Benson wrote: > > > That said, I submit that it's a very confusing part of the language as > defined currently, and I haven't seen a very thorough explanation of the > purpose of each method in the chain the instantiates a new object. S12 > touches upon them

Re: [perl #64566] @a[1..*] adds trailing undef value

2009-08-19 Thread Jan Ingvoldstad
On Wed, Aug 19, 2009 at 1:54 PM, Moritz Lenz via RT < perl6-bugs-follo...@perl.org> wrote: > > Since the discussion came up on #perl6 if this is really the expected > behaviour, S09 says: > > As the end-point of a range, a lone "whatever" means "to the maximum > specified index" (if fixed indices

Re: $*CWD and chdir()

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 3:52 PM, Mark J. Reed wrote: > On Tue, Aug 18, 2009 at 9:26 AM, Jan Ingvoldstad > wrote: > > You think it's a bug that PWD="/etc" doesn't change your working > directory > > to /etc in bash? > > > > Please tell

Re: Filename literals

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 3:20 PM, Carl Mäsak wrote: > > Let's make a solid ground to stand on; something so stable that it > works uphill and underwater. People with expertise and tuits will > write the facilitating modules. > > To quote Kernighan and Pike: Simplicity. Clarity. Generality. > I

Re: $*CWD and chdir()

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 2:33 PM, David Green wrote: > > Huh. Thank you, I did not know that. It makes "sense" (in that I > understand what's going on now that I see it, and indeed it seems almost > obvious), but I certainly couldn't call it "expected" because I didn't. And > I can guarantee I'

Re: $*CWD and chdir()

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 1:02 PM, David Green wrote: > On 2009-Aug-18, at 3:12 am, Jan Ingvoldstad wrote: >> >> It may seem cool, but I don't like secondary effects like that. They break >> the principle of least surprise. > > It doesn't seem that surprising to

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

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 12:54 PM, Troels Liebe Bentsen wrote: > My idea with portable by default was only portability for modern Unix and > modern Windows. So DOS and VMS limitations would not apply. The problem of > enforcing truly "portable" filenames is that the files names get too > restrictiv

Re: S26 - The Next Generation

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 3:47 AM, David Green wrote: > On 2009-Aug-17, at 12:27 pm, Moritz Lenz wrote: >> >> However it seems we have to pay a price: each act of rendering a Pod >> file actually means executing the program that's being documented (at >> least the BEGIN blocks and other stuff that ha

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

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 11:04 AM, David Green wrote: > On 2009-Aug-18, at 2:29 am, Carlin Bingham wrote: >> >> chdir provides functionality that would be quite convoluted to mimic >> through manually setting $*CWD, such as changing to a relative >> directory. > > Maybe setting $*CWD just calls chdi

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

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 10:58 AM, Nicholas Clark wrote: > Oh gosh yes. I forgot. AUX.TXT > And all the the other CP/M device file names, with our without extensions... > > > [And of course, IIRC, DOS filenames can't be more than 64 characters. Which > means that your code thinks that it knows what

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

2009-08-18 Thread Jan Ingvoldstad
On Tue, Aug 18, 2009 at 10:01 AM, Nicholas Clark wrote: > On Tue, Aug 18, 2009 at 09:24:08AM +0200, pugs-comm...@feather.perl6.nl wrote: > >> +=head3 Default constraints >> + >> +The default p{} only allows "/" as separator and does not allow path >> elements >> +to contain >> +characters that won

Re: Filename literals

2009-08-14 Thread Jan Ingvoldstad
I'll just butt in here and say that while the URI format is nice for alternate schemes, it is not nice for accessing files. The general case in most programming languages is to assume that a non-URI "file" name is local, specifying file://wherever/whatever/filename is unnecessary additional syntax