Re: Perl6 perlplexities [was: "Re: $1 change issues..."]

2005-11-07 Thread Juerd
onvert (:$from, :$to, :$thing is rw) { ... } I think the complexity of signatures is much less than that of doing the same things without them, with the extra benefit that even beginners will (almost) instantly understand most of it! Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Perl6 perlplexities [was: "Re: $1 change issues..."]

2005-11-07 Thread Juerd
I hadn't noticed this change, but I like it. I've updated the PM node :) Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Classification syntax [Was: Renaming grep]

2005-11-18 Thread Juerd
, I have to object. Such combination doesn't work well in my brain. I'd prefer: %bins.clear; %bins.pairs = ...; Although I think the current situation with simple assignment is still much better: %bins = ...; Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

lvalue reverse and array views

2005-11-19 Thread Juerd
ry even time. Would something like that be possible? Wanted? Not too costly? Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: \x{123a 123b 123c}

2005-11-19 Thread Juerd
Ruud H.G. van Tol skribis 2005-11-20 1:19 (+0100): > Maybe > "\x{123a 123b 123c}" > is a nice alternative of > "\x{123a} \x{123b} \x{123c}". Hmm, very cute and friendly! Can we keep it, please? Please? Juerd -- http://convolution.nl/maak_juerd

Re: lvalue reverse and array views

2005-11-20 Thread Juerd
r, for example: @foo Y @bar Y @baz > (What is Perl's pair terminology, by the way?) A Pair has a key and a value. To retrieve the key, use the .key method, to retrieve the value, use the .value method, to retrieve a list of both, use the .kv method. Juerd -- http://convolution.nl/maa

Re: lvalue reverse and array views

2005-11-20 Thread Juerd
; $foo, $bar { ... } looks, and don't quite like for @foos Y @bars -> [ $foo, $bar ] { ... } as much. > (Or does for no longer automatically take as much elements from the > input array as needed? I like the arity-sensitivity solution better, I think. Juerd -- http://convo

Re: apo5

2005-11-21 Thread Juerd
Larry Wall skribis 2005-11-21 12:08 (-0800): > Unfortunately, though, > > would be ambiguous, and/or wrong. Well, we could of course change "-" to mean "-1 or fewer", as "+" means "+1 or more"... :D Juerd -- http://convolut

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Juerd
the same rule could be used for .., but then for consistency, whitespace on its RHS would need to be disallowed. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Juerd
o use indexes, but [EMAIL PROTECTED] doesn't return an index. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: implied looping (was: Re: type sigils redux, and new unary ^ operator)

2005-11-23 Thread Juerd
Larry Wall skribis 2005-11-23 9:19 (-0800): > ^5.each { say } Without colon? Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Lazy lists in Str context

2005-11-23 Thread Juerd
n of lazy strings is an interesting one. It would be very useful, and would also allow GREAT things like my $revfoo := reverse $foo; $revfoo ~~ s/foo/bar/g; I wonder if it's doable, though... Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Juerd
ame as that of @foo.last. That almost all arrays range from 0..i is no reason to write bad code. > Maybe someone doing > for ([EMAIL PROTECTED])->$i { say @foo[$i] } That should be ^(@foo.last + 1), or not using ^ at all. I'd prefer the latter. Juerd -- http://co

Re: Lazy lists in Str context

2005-11-23 Thread Juerd
nconsistent, but with @, it cannot be copied, because that flattens in list context, which is provided by assignment to another @-thing. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Juerd
t, that of "the number of elements" is .elems, or [EMAIL PROTECTED] If you need the last index, plus one, you shouldn't use the number of elements, and if you need the number of elements, minus one, you shouldn't use the last index. Am I the only one who cares about this dis

Re: type sigils redux, and new unary ^ operator

2005-11-23 Thread Juerd
Juerd skribis 2005-11-24 0:39 (+0100): > Personally, I think even ^.., ^..^ and ..^ are too much, but that I can > live with. For the record, I don't want to die if ^ is introduced. If it's there, I'll use it. If using [EMAIL PROTECTED] becomes accepted style, I'll use

Re: type sigils redux, and new unary ^ operator

2005-11-24 Thread Juerd
have .i -- "i" for "index" is accepted abbreviation, isn't it? (Think for (i = 0; ...; ...)) Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: type sigils redux, and new unary ^ operator

2005-11-24 Thread Juerd
IL PROTECTED] returning a list of indexes, if that is the definition. I do object to [EMAIL PROTECTED] meaning [EMAIL PROTECTED], which happens to return a list of indexes for most arrays. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://co

Re: type sigils redux, and new unary ^ operator

2005-11-24 Thread Juerd
ducing another unary operator? ++ Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: scalar/array contexts in perl5 vs. perl6

2005-12-04 Thread Juerd
> my $x = 0; my @y = 1..9; [EMAIL PROTECTED]; print "$x\n"; print "@y\n" The @ sigil does not create list context. In general, every $foo[$bar] from Perl 5 can be written as @foo[$bar] in Perl 6. @foo[$bar++]++ is neither weird nor wrong. Ugly, yes, that it is. Juer

Re: the $! too global

2005-12-05 Thread Juerd
TSa skribis 2005-12-05 12:32 (+0100): > IIRC, the default is to be a read-only ref. Not even local modifications s/ref/alias/, which you can see as an implicit or automatic reference, but which we usually don't call that. Juerd -- http://convolution.nl/maak_juerd_blij.h

Re: Clarification for External Regex Variables?

2005-12-09 Thread Juerd
Brad Bowman skribis 2005-12-09 20:14 (+0100): > $str ~~ my m/ mv @files:=+ $dir:= / > Nah, that's ugly. It's mostly ugly because you're not used to it, I think. my m[mv @files:=+ $dir:=] ~~ $str; Looks nicer, though. Juerd -- http://convolution.nl/maak

Re: Problem with dwimmery

2005-12-22 Thread Juerd
oes, then wouldn't it be just a bit too silly to stick to {} being a hash? Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Problem with dwimmery

2005-12-22 Thread Juerd
c is under kind control ;) Autovivification is always predictable. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Deep copy

2005-12-23 Thread Juerd
. Perhaps this can be determined using some attribute, that for a referenced hash defaults to the opposite of what it defaults to for a literal anonymous hash. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: real ranges

2005-12-23 Thread Juerd
gt; $range.max, and would be surprised if they meant anything else. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Deep copy

2005-12-23 Thread Juerd
$bar = Baz.new( foo => %foo ); my $quux = $bar.clone; %foo = 'b'; Depending much on the semantic value of .foo, I'd want only $bar.foo or both $bar.foo and $quux.foo to be set to 'b'. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Deep copy

2005-12-23 Thread Juerd
Nicholas Clark skribis 2005-12-23 17:18 (+): > Why not call the shallow copy .copy, and the deep copy .clone? Because using (almost-)synonyms for different things leads to infinite confusion. List/Array is a good example. Juerd -- http://convolution.nl/maak_juerd_blij.html h

binding arguments

2005-12-24 Thread Juerd
a need to pass a hash that way. f := %foo; Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: binding arguments

2005-12-24 Thread Juerd
out it. It has nothing to do with colons or assignment. Colons are used for pairs, assignment for copying values. It looks like +=, but doesn't quite work like it. And ::= seems entirely arbitrarily chosen. But I may be wrong. Juerd -- http://convolution.nl/maak_juerd_blij.html

Re: binding arguments

2006-01-05 Thread Juerd
uring and after the expression, and the aliasing itself had nothing to do with the substitution. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: binding arguments

2006-01-05 Thread Juerd
Ingo Blechschmidt skribis 2006-01-05 18:32 (+0100): > Juerd wrote: > > Ingo Blechschmidt skribis 2005-12-25 17:37 (+0100): > >> I disagree about binding only being a language thing: > > I fail to see how your example code illustrates your disagreement. > >>

Re: Table of Perl 6 "Types"

2006-01-12 Thread Juerd
id having both ... and ...$foo? MMD, longest-match, ugly hacks, there's a bag full of tricks that could be used, so I gathered there must be a philosophical reason not to have this. I just can't think of any that would weigh more than having ...$foo around. Juerd -- http://convolut

Re: split on empty string

2006-01-18 Thread Juerd
Jonathan Lang skribis 2006-01-18 7:26 (-0800): > Mark Reed wrote: > > Perl6 "".split(/whatever/) is equivalent to split(/whatever/,"") in Perl5. > I'm hoping that the perl 5 syntax will still be valid in perl 6. Don't worry, it is. Juerd -- http:

perl6-all@perl.org

2006-01-19 Thread Juerd
how you decide to write a method call on $bar, is still OO. Classes, like OO syntax, are not necessary for OO. > You can write code that behaves like you're in OO-land and that talks > with an OO accent (so long as you don't look behind the curtain), but > it's not OO.

perl6-all@perl.org

2006-01-19 Thread Juerd
to different people. To me, it means I can re-use code more easily. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Perl 6's &bless is (seriously) broken

2006-01-19 Thread Juerd
s is because, > what is blessed is not a literal "hash", but an instance of ^Hash. The mistake here is that Foo doesn't "does Hash", I think. Sure, in Perl 5, you could have different kinds of references as instances of the same class. But I don't recall ever havi

Re: Perl 6's &bless is (seriously) broken

2006-01-19 Thread Juerd
n-OO fashion. > &bless was a brilliant idea for Perl5. It's wrong for Perl6. I think it's needed to be able to convert Perl 5 code semi-automatically. But you have probably thought about this more than I, so I'll ask you: what's the alternative? Juerd -- http://conv

Re: Perl 6's &bless is (seriously) broken

2006-01-19 Thread Juerd
Juerd skribis 2006-01-19 22:18 (+0100): > Could you live with @foo being an array, and @foo in scalar context > returning a reference to that array? And with arrays being interfaces to > underlying Arrays, which are objects, which makes arrays non-objects > that can be used *as* ob

Re: Perl 6's &bless is (seriously) broken

2006-01-19 Thread Juerd
fferent kinds of references as > >instances of the same class. But I don't recall ever having > >encountered > >that. > bless([] => 'Foo'); > bless({} => 'Foo'); > bless(\*Foo => 'Foo'); > bless(\(my $var) => 'Foo&

Re: Perl 6's &bless is (seriously) broken

2006-01-19 Thread Juerd
if "everything is NOT an object", then the synopsis need to > reflect this. I was more thinking along the lines of "NOT everything is an object", "but some things are". Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Perl 6's &bless is (seriously) broken

2006-01-19 Thread Juerd
u used and calling those attributes. > 3) It then creates your BUILD() method, putting all the non-bless > components of your new() into it. Doesn't solve the problems as mentioned in this thread, like overlapping methods. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

perl6-all@perl.org

2006-01-19 Thread Juerd
e for calling it that) did not. The two are wildly incompatible, but we do want both. Well, perhaps you do not, but many of us here do. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

[OT] Re: Parrot and PGE will save the day (was Re: "as if" [Was: Selective reuse of storage in &bless.] )

2006-01-21 Thread Juerd
t some golfs ... Not worth the effort, because length('[EMAIL PROTECTED]') == length('push a'). Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: ff and fff [Was: till (the flipflop operator, formerly ..)]

2006-01-25 Thread Juerd
hat we can use "ff" and "fff" to mean "loud" > and "really loud" in our perl poetr^H^H^H^H^Hmusic. :-) We need pp and ppp for balance. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: ff and fff [Was: till (the flipflop operator, formerly ..)]

2006-01-25 Thread Juerd
nt? I fear someone will suggest the ff ligature. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Conversion oneliner t-shirt

2006-01-27 Thread Juerd
no profit in there for me, or anyone except Cafepress. (I did add $ 0.01 because I think .99 values are incredibly silly.) Please donate to TPF separately :) Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: The definition of 'say'

2006-02-08 Thread Juerd
tter plan than having it default to any ORS, even if that ORS happens to be \n. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Instance attributes collision

2006-02-13 Thread Juerd
rning, but not an error? I'd expect has $.a; has @.a; To result in both $.a and @.a, but only one method .a, which is an accessor for @.a Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Instance attributes collision

2006-02-13 Thread Juerd
Luke Palmer skribis 2006-02-13 9:46 (+): > class Baz { > does Foo; > does Bar; # does this count as double declaration? > } I'd put composition and inheritance in a slightly different category than accessor *generators*. Juerd -- http

Re: Perl 6 design wiki?

2006-03-05 Thread Juerd
7;s even quite likely that although it describes the way you intended the module to be used, it doesn't cover all the bases. See DBIx::XHTML_Table and Apache::Session, that have nothing to do with DBI and Apache, respectively. More and more, I like cute names that don't really desc

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

2006-04-06 Thread Juerd
bar(...). baz(...). quux(...) because then you lose visual indication that bar, baz, and quux are methods (rather than functions), and the . and the end of a line is visually lost and probably easily forgotten. Plus, I don't like continuation characters at all. Please reconsider. J

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

2006-04-06 Thread Juerd
syntax style. And in this case, I think it breaks almost everyone's syntax style, not just that of a few. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

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

2006-04-06 Thread Juerd
tirely predictible. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: =$fh vs *$fh

2006-04-23 Thread Juerd
documents for storage. > [101 lines] I wish I had time to read it all. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: S5 - Question about repetition qualifier

2006-04-25 Thread Juerd
hing like that. Quite often. A silly example: $hex_wep_key ~~ /^ **{10|26} $/ Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

A shorter long dot

2006-04-29 Thread Juerd
> 16:50 < audreyt> Juerd: write to p6l and explain the ".." conflict, The current long dot consists of a dot, then whitespace, and then another dot. The whitespace is mandatory, which makes the construct at least three characters long. Tripling the length of an operator, just t

Fw: ([EMAIL PROTECTED]) Re: A shorter long dot

2006-04-29 Thread Juerd
4 -0700 (PDT) To: [EMAIL PROTECTED] Subject: Re: A shorter long dot Testing with sbc30k [EMAIL PROTECTED] wrote: > 16:50 < audreyt> Juerd: write to p6l and explain the ".." conflict, The current long dot consists of a dot, then whitespace, and then another dot. The whitespac

Re: A shorter long dot

2006-04-30 Thread Juerd
editors, like to keep them at the default settings. And whenever you have to create a macro to do something that's common in a certain programming language, that programming language was badly designed. Let's not let Perl 6 be such a language. Juerd -- http://convolution.nl/

Re: A shorter long dot

2006-04-30 Thread Juerd
vel. These cascades look messy. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: A shorter long dot

2006-04-30 Thread Juerd
Yuval Kogman skribis 2006-04-30 2:58 (+0300): > > We need to be careful not to require the language to solve problems that > > are better solved with tools. > On that point I agree, but I think it was a question of > aesthetics... Juerd? Yes, it was about both aesthe

Re: A shorter long dot

2006-04-30 Thread Juerd
.___:bar Would suffice for my needs. Not sure if people are willing to give up their underscore-only method names, though. Perhaps whitespace can be allowed in numbers too: 5 000 000; 5_000_000; Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/

Re: A shorter long dot

2006-04-30 Thread Juerd
rd to spot, and about underscores) are made, and I think healthy discussion can lead to a much better solution than the current long dot. People who think it wastes their time, by now know what this thread is about, and can choose to ignore it. Juerd -- http://convolution.nl/maak

Re: A shorter long dot

2006-04-30 Thread Juerd
t so long that I'm likely to have foo.___:bar, and $foo.__:bar is clean. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: A shorter long dot

2006-04-30 Thread Juerd
Gaal Yahas skribis 2006-04-30 16:05 (+0300): > But it doesn't work across lines: > $and_a_long_one_I_still_want_to_align. > :foo() Explain to me why it wouldn't work, please. I don't get it. Juerd -- http://convolution.nl/maak_juerd_blij.ht

Re: A shorter long dot

2006-04-30 Thread Juerd
Larry Wall skribis 2006-04-30 9:58 (-0700): > On Sat, Apr 29, 2006 at 05:15:08PM +0200, Juerd wrote: > : Larry indicated that changing the long dot would have to involve > : changing the first character. The only feasible solution in the "tiny > : glyphs" section was the ba

Re: Linking Synopses to corresponding pod-files?

2006-05-04 Thread Juerd
Markus Laire skribis 2006-05-04 14:55 (+0300): > When reading Synopses, I sometimes notice some mistakes or typos, > which I'd like to submit a patch for, but it's not easy to do so as I > don't know where to get the source. Have you tried s/html/pod/? :) Juerd -

Perl 6 Perl 6 Wiki Wiki (RFC: Community education page)

2006-05-04 Thread Juerd
on the outside, this will do Perl 6 much good. I've been meaning to do this myself, but I'm past the point where I give up waiting for sufficient sufficiently round tuits. Of course, feather can host it :) Juerd -- http://convolution.nl/maak_juerd_blij.html http://conv

Re: [S05] /ee

2006-05-05 Thread Juerd
Dr.Ruud skribis 2006-05-05 15:25 (+0200): > > s/pattern/{ eval doit() }/ > s/eval/try/ ? No, string eval stays eval. Only block eval is renamed to try. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Scans

2006-05-08 Thread Juerd
..<< ([EMAIL PROTECTED]) ] Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Scans

2006-05-08 Thread Juerd
Gaal Yahas skribis 2006-05-08 17:58 (+0300): > (Is there special sugar to make @input be the last index when used in a > range, or did you mean ..^ ?) I meant @input.last, or probably @input.indices (or .keys?) instead of the entire range, and @input.first instead of the first 0. Juerd --

Re: A rule by any other name...

2006-05-10 Thread Juerd
er be allowed outside a grammar, > I entirely agree. I don't. While disallowing named methods and rules may be a wise idea (I'm not sure they are), the anonymous forms are probably very useful to have around. my $method = method { ... }; $object.$method(...); Juerd -- http://conv

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6).

2006-05-23 Thread Juerd
mation with PHP is possible, but there will be people who will interpret that meta-info. Besides that, the page is kind of slow... But that could be temporary. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6)

2006-05-24 Thread Juerd
> Perl 6 pages, and so on. Feather, the semi-public, semi-private, Perl 6 development server, is available to host a Perl 6 wiki. The hostname www.perl6.nl is deliberately kept available for something like that. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd

Re: Perl 6 Wiki -- 2 more possibilities, & further discussion.

2006-05-25 Thread Juerd
Please, for proper threading, don't reply to multiple messages at once. Conrad Schneiker skribis 2006-05-25 1:46 (-0700): > Juerd wrote: > > Feather, the semi-public, semi-private, Perl 6 development server, is > > available to host a Perl 6 wiki. > > The hostname ww

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-05-28 Thread Juerd
when the $1000 have been awarded), perl6.nl, www.perl6.nl, is available to host the wiki. Cheers, Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: CGI on 6

2006-05-28 Thread Juerd
"=~"? I've found contradictory references > to both in books and online. It was "=~" in Perl 5, but it's "~~" in Perl 6. Please report occurrences of "=~" to the respective authors. The negated version is "!~", as it was in Perl 5. Ju

Re: CGI on 6

2006-05-28 Thread Juerd
Michael Mathews skribis 2006-05-28 20:32 (+0100): > And, as an incentive, I'm offering 1000 Colombian Pesos to the first > person to author a working example of s/+/ /g; in Perl 6*. If your PGE support works, s/+/ /g still does not. It's s:g/\+/ /. Juerd -- http:

Re: CGI on 6

2006-05-28 Thread Juerd
ntly broken, so Perl 6 regexes don't work in Pugs. > And, as an incentive, I'm offering 1000 Colombian Pesos to the first > person to author a working example of s/+/ /g; in Perl 6*. $foo ~~ s:Perl5:g/\+/ /; Juerd -- http://convolution.nl/maak_juerd_blij.html htt

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-05-29 Thread Juerd
ian, whatever) is even better. Perl6 currently needs > documentation, community and advocacy - not a Yet Another Content > Management System written in itself. It is unlikely that it will > become Perl6's killer app with such a strong competition. I disagree, for reasons detailed

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-05-29 Thread Juerd
re, if this Wiki is going to be made sooner rather than later, > what are we going to use for a storage engine? Well, since storage needs support for revisions, I'm all for re-using open source industry standards like svk or svn. Initially, the command line tools can be wrapped ar

Re: CGI on 6

2006-05-30 Thread Juerd
his CGI course. It's very insightful, and gives quite a few pointers to things that often go wrong when people invent their own wheels. The URL is in his signature. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Synchronized / Thread syntax in Perl 6

2006-05-31 Thread Juerd
ame, > except it implies serializing to a serial format, like disk. "Locked" is > the best name I can think of, and it frankly isn't that good -- it's so > vauge as to be able to mean almost anything. is exclusive Juerd -- http://convolution.nl/maak_juerd_blij.h

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-06-06 Thread Juerd
are not suitable. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: OT: "my wiki syntax is better than yours" (was: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-06-06 Thread Juerd
ew goes beyond the context of the tool. Not my point. A Perl 6 wiki needs to explain how Perl 6 differs from Perl 5. Not with diff(1) output, obviously. > So, in that regard, I don't believe that this is an issue. Pity. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolutio

Re: OT: wiki engine architecture

2006-06-12 Thread Juerd
Conrad Schneiker skribis 2006-06-10 15:37 (-0700): > target spec. (2) Would Juerd be willing to serve as the judge of who > sufficiently fulfilled the specs? I would, but perhaps my personal opinions would matter too much to be an objective judge. Regards, Juerd -- http://convolut

Re: Conditionally included list elements

2006-06-18 Thread Juerd
my @foo = 1, 2, 3, { 4 if 0 }.(), 5; say @foo.perl [1, 2, 3, 5] bool::true pugs> my @foo = 1, 2, 3, { 4 if 1 }.(), 5; say @foo.perl [1, 2, 3, 4, 5] bool::true Though I have no idea if this is intended behaviour. It differs from Perl 5, and I couldn't find any spec detail

Re: Conditionally included list elements

2006-06-18 Thread Juerd
mpty list is SUPPOSED to happen. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Conditionally included list elements

2006-06-18 Thread Juerd
(1, 2, 3, 4) I'd always use it with parens, though. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Revised Perl++ Wiki Proposal / $1k bounty

2006-06-20 Thread Juerd
mportant that sourceforge does that feather doesn't provide yet, please work with me to change that. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: DOC: glossary

2006-07-02 Thread Juerd
I haven't actually read your message, just the Subject, because I was just going to bed. Be sure to check out http://pugs.kwiki.org/?Perl6Nomenclature Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: underscores in the core lib

2006-08-10 Thread Juerd
I want core stuff to be consise and short. > On 8/6/06, Ashley Winters <[EMAIL PROTECTED]> wrote: > >On 8/6/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: Please do not answer above the quote. Regards, Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Same-named arguments

2006-08-23 Thread Juerd
Michael Snoyman skribis 2006-08-23 12:10 (-0700): > sub mysub($foo, @foo, %foo) { I hope this is a compile time failure. If not, I'd expect a warning, at least. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convol

Re: Same-named arguments

2006-08-23 Thread Juerd
Carl Mäsak skribis 2006-08-23 21:54 (+0200): > Juerd (>), Michael Snoyman (>>): > >> sub mysub($foo, @foo, %foo) { > >I hope this is a compile time failure. If not, I'd expect a warning, at > >least. > Why? It looks reasonable IMHO. Because arguments ar

Re: Pair of lists => list of pairs?

2006-08-23 Thread Juerd
reduction, and is prefix: [+] 1,2,3 Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: clarifying the spec for 'ref'

2006-08-25 Thread Juerd
value of an element at an index > * set the value of an element at an index You define in terms of functionality, but don't provide an explanation for the chosen point of view. One could say that constant arrays protect against modifications, which normal arrays don't. Hence,

Re: clarifying the spec for 'ref'

2006-08-25 Thread Juerd
my Array::Const @foo; @foo ~~ Array; # False?! Please, no. Though in practice I expect "is ro" to be used, not a subtype or subset. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: clarifying the spec for 'ref'

2006-08-25 Thread Juerd
Trey Harris skribis 2006-08-25 13:26 (-0700): > Explain to me how "nontraditional" DBC might work in an internally > consistent way. Otherwise, this is hand-waving. :-) Perl *is* hand-waving.

Re: clarifying the spec for 'ref'

2006-08-28 Thread Juerd
| | | Class > B | > | > --| > |Class C | > ---- I'm curious what this was supposed to look like. :) Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
ather is in. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

  1   2   3   4   5   6   7   8   >