FAQ

Search Discussions

53 discussions - 412 posts

  • Hello All, Since autrijus is now busy porting the P5 metamodel prototype into Haskell for use in Pugs, I have decided to begin work on documenting the Perl6::MetaModel prototype modules more ...
    Stevan LittleStevan Little
    Aug 8, 2005 at 8:10 pm
    Sep 5, 2005 at 2:42 pm
  • According to S06: my $pi is constant = 3; Is this a special form? If yes, what does it desugar to? my $pi is constant := 3; my $pi is constant ::= 3; If not a special form, should this work? my $pi ...
    Autrijus TangAutrijus Tang
    Aug 10, 2005 at 6:21 pm
    Aug 18, 2005 at 5:40 pm
  • We've seen many problems come up with the current special treatment of pairs. Here's what I can think of: * Pairs are restricted to a particular position in the argument list, which leads to ...
    Luke PalmerLuke Palmer
    Aug 19, 2005 at 10:31 am
    Sep 20, 2005 at 4:04 pm
  • Howdy, I wanted to make sure this question had a chance to get addressed, so I am seperating it from the other thread which has digressed into the depths of the metamodel (much to my delight too). ...
    Stevan LittleStevan Little
    Aug 9, 2005 at 9:09 pm
    Aug 29, 2005 at 4:45 pm
  • So I'm starting to write the inferencer. Immediately I encounter the problem that every type can potentially contain "undef": my IO $x = open('/etc/passwd'); $x = undef; $x.close; This raises the ...
    Autrijus TangAutrijus Tang
    Aug 10, 2005 at 4:09 pm
    Aug 12, 2005 at 2:53 pm
  • I don't like eqv, because it's ugly, inconsistent with anything else in Perl 6, especially &&, ||, and ^^. It might be forced to fit into the and, or, and xor family, but you'd expect to find 'eq' ...
    Yuval KogmanYuval Kogman
    Aug 23, 2005 at 3:20 pm
    Sep 22, 2005 at 5:45 pm
  • One of the things I'm looking forward to in Perl6 is greatly improved sub/method signatures. I'm hoping that this will eliminate the need for anything like Params::Validate, which IMO is a nasty hack ...
    Dave RolskyDave Rolsky
    Aug 17, 2005 at 9:27 pm
    Aug 18, 2005 at 5:07 pm
  • After a very fruitful discussion I've rewritten my suggested GC API. Comments please. Is this the path we should be going down? What needs more work? What needs clarification? Have I totally lost the ...
    David Formosa \(aka ? the Platypus\)David Formosa \(aka ? the Platypus\)
    Aug 15, 2005 at 1:14 am
    Aug 17, 2005 at 11:28 am
  • Hi, with PIL-Run (Perl 6 to Perl 5 compiler) progressing rapidly, the topic "binding" came up on #perl6. "Binding is a simple symbol table manipulation, right?" "No, consider @array[$idx] := $var or ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 25, 2005 at 9:32 pm
    Aug 29, 2005 at 2:01 pm
  • WRT to PIL and compilation and all that, I think it's time to think about how the linker might look. As I see it the compilation chain with the user typing this in the prompt: perl6 foo.pl perl6 is a ...
    Yuval KogmanYuval Kogman
    Aug 24, 2005 at 1:13 pm
    Aug 26, 2005 at 3:03 am
  • Hi, 1_234; # surely 1234 1e23; # surely 1 * 10**23 1._5; # call of method "_5" on 1? 1._foo; # call of method "_foo" on 1? 1.e5; # 1.0 * 10**5? 1.efoo; # call of method "efoo" on 1? 1.e_foo; # call ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 16, 2005 at 8:14 pm
    Aug 17, 2005 at 9:21 pm
  • Hi, @array = $scalar; # really means @array = ($scalar,); # same as @array = (); @array[0] = $scalar; # Correct? @array = $arrayref; # really means @array = ($arrayref,); # same as @array = (); ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 31, 2005 at 1:27 pm
    Sep 5, 2005 at 9:33 pm
  • In the last year AJAX has become a significant technology. Now with perl 6 compiling to javascript and perl 5 and what not, i think there is a big future when you merge the two and remove the ...
    Yuval KogmanYuval Kogman
    Aug 17, 2005 at 11:29 pm
    Aug 21, 2005 at 12:41 pm
  • my( $s, $t ); $s = "value t is $t"; $t = "xyz"; print $s; in perl 5, it will give a warning, and won't do "right" thing. we have to use other way or eval '$s' before print to get a "correct" answer. ...
    Yiyi HuYiyi Hu
    Aug 22, 2005 at 8:09 pm
    Aug 23, 2005 at 6:18 pm
  • That's a significant part of what happened to perl5-porters in The Bad Years. Many more talkers than doers and much use of "we could do ..." when the doing would clearly have to be done by someone ...
    Tim BunceTim Bunce
    Aug 16, 2005 at 3:04 pm
    Aug 17, 2005 at 11:59 am
  • Hi, my $pair = (a = 1); say $pair[0]; # a? say $pair[1]; # 1? I've found this in the Pugs testsuite -- is it legal? --Ingo -- Linux, the choice of a GNU | Black holes result when God divides the ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 4, 2005 at 9:52 pm
    Aug 5, 2005 at 8:30 pm
  • Let me just clarify something that my intuition led me to believe: sub foo(&infix:<+ ) { 1 + 2 } sub bar($a, $b) { say "$a,$b" } foo(&bar); # "1,2" That is, operator names can be lexically bound just ...
    Luke PalmerLuke Palmer
    Aug 31, 2005 at 10:56 am
    Sep 3, 2005 at 12:39 pm
  • Hello all, I tried to search for this answer in AES12, but I did not see anything, and a perl6.lang search just brought up the whole $_.method vs. ./method debate (which was too much to shlog ...
    Stevan LittleStevan Little
    Aug 17, 2005 at 6:18 pm
    Aug 18, 2005 at 12:08 am
  • S06 made many explicit uses of generics as classes, which I find difficult to reconcile with the "only roles takes type parameter" ruling. For example: my Hash of Array of Recipe %book; my ...
    Autrijus TangAutrijus Tang
    Aug 14, 2005 at 12:27 pm
    Aug 16, 2005 at 6:49 pm
  • While nothingmuch and I are gutting junctions and trying to find the right balance of useful/dangerous, I'm going to propose a new way to do autothreading that doesn't use junctions at all. First, ...
    Luke PalmerLuke Palmer
    Aug 28, 2005 at 9:45 am
    Aug 29, 2005 at 10:12 am
  • (Cc'ing p6l, but this feels like a p6c thread...) Greetings. As I'm moving forward with the new PIL runcore, I'm now trying to document my understanding as visual diagrams. The first one is about the ...
    Autrijus TangAutrijus Tang
    Aug 6, 2005 at 4:21 pm
    Aug 9, 2005 at 12:11 pm
  • Hi, S02 says: our $a; say $::("a"); # works my $a; say $::("a"); # dies, you should use: my $a; say $::("MY::a"); # works How can I use symbolic dereferentiation to get $?SELF, $?CLASS, ::?CLASS, ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 20, 2005 at 10:40 pm
    Sep 21, 2005 at 11:15 am
  • Hi, (sorry for me going into implementation details, but, as it's really a language design question, I refrained from sending this to p6c.) While trying to make the following work in PIL2JS... my ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 27, 2005 at 5:19 pm
    Aug 29, 2005 at 12:10 pm
  • Hi, What is the "correct" way to do pass through args? In perl 5 we would do: sub whatever { ... nested_call(@_); ... } but slurpy args are undesireable, since they are lossy: data loss - shape of ...
    Yuval KogmanYuval Kogman
    Aug 28, 2005 at 8:58 am
    Aug 28, 2005 at 10:37 am
  • Hi, * my @array = <a b c d ; @array[1] = "new"; # Array elements are, of course, new (rw) containers. * my @array = ($foo, $bar); @array[0] =:= $foo; # False -- array element are new containers. ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 27, 2005 at 3:41 pm
    Aug 27, 2005 at 6:08 pm
  • Hi, (asking because a test testing for the converse was just checked in to the Pugs repository [1]) sub foo ($n, *%rest) {...} foo 13; # $n receives 13, of course, %rest is () foo 13, foo = "bar"; # ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 23, 2005 at 1:33 pm
    Aug 24, 2005 at 7:22 pm
  • What is the resulting data structure in each of the following: -<< [1, 2] -<< [[1,2], [3,4]] -<< [[1,2], 3] [[1,2], 3] +<< [[4,5], 6] [1, 2, [3]] +<< [[4,5], 6] Luke
    Luke PalmerLuke Palmer
    Aug 20, 2005 at 4:13 am
    Aug 20, 2005 at 3:36 pm
  • Hi, What's the current meaning of type annotations on type-variables? For example, if I say... my Foo ::x; ...which of these does it mean? a) ::x (<=) ::Foo (i.e. any type assigned to x must be ...
    Stuart CookStuart Cook
    Aug 11, 2005 at 10:02 am
    Aug 11, 2005 at 10:00 pm
  • Hi, (found in the Pugs testsuite.) my $undef = undef; say $undef.chars? # 0? undef? die? say chars $undef; # 0? undef? die? I'd opt for "undef.chars" to be an error ("no such method") and "chars ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 4, 2005 at 10:28 pm
    Aug 5, 2005 at 4:09 pm
  • All~ I have a simple question. Who comprises @Larry? I am fairly sure that I know a few people in it, but I am highly doubtful that I know all of them. Thanks, Matt -- "Computer Science is merely the ...
    Matt FowlesMatt Fowles
    Aug 26, 2005 at 1:25 am
    Aug 26, 2005 at 4:39 am
  • Perl 6 Summary for 2005-08-15 through 2005-08-22 All~ Welcome to another monday summary, which hopefully provides some evidence that mondays can get better. It always feels like writing summaries is ...
    Matt FowlesMatt Fowles
    Aug 23, 2005 at 1:44 am
    Aug 23, 2005 at 9:56 am
  • svnbot6 r6401 | iblech++ | *%slurpy_hashes exist :) svnbot6 r6401 | iblech++ | It uses the semantics of svnbot6 r6401 | iblech++ | http://www.nntp.perl.org/group/perl.perl6.language/22860, i.e. ...
    Yiyi HuYiyi Hu
    Aug 22, 2005 at 10:05 am
    Aug 22, 2005 at 4:19 pm
  • Output? sub foo (+$a, *%overflow) { say "%overflow{}"; } foo(:a(1), :b(2)); # b 2 foo(:a(1), :overflow{ b = 2 }); # b 2 foo(:a(1), :overflow{ b = 2 }, :c(3)); # ??? Luke
    Luke PalmerLuke Palmer
    Aug 21, 2005 at 9:39 pm
    Aug 22, 2005 at 12:55 am
  • Exegesis 3 contains this snippet, my $inflation; print "Inflation rate: " and $inflation = +< until $inflation != NaN; but the rule that +"hello" evaluates to NaN is "no longer" mentioned in S03, ...
    Daniel BrockmanDaniel Brockman
    Aug 16, 2005 at 11:22 am
    Aug 16, 2005 at 5:26 pm
  • Parrot 0.2.3 "Serenity" Released! On behalf of the Parrot team I'm proud to announce another monthly release of Parrot and I'd like to thank all involved people as well as our sponsors for supporting ...
    Leopold ToetschLeopold Toetsch
    Aug 5, 2005 at 2:47 pm
    Aug 6, 2005 at 6:31 am
  • I vaguely recall that we went over this already, but I forgot the conclusion if we did. In Damian and Larry's talk here at OSCON, I saw the example: if foo() - $foo { # use $foo } How can that ...
    Luke PalmerLuke Palmer
    Aug 3, 2005 at 6:27 pm
    Aug 4, 2005 at 8:45 am
  • Has any thought been given to using a concurrent garbage collector for Perl6? Besides eliminating GC pauses (which in turn means less of a need for users to fiddle with the GC settings, and therefore ...
    Greg BuchholzGreg Buchholz
    Aug 1, 2005 at 3:41 pm
    Aug 1, 2005 at 10:26 pm
  • Hi, according to S29 [1], neither map nor grep allow mutation: multi sub Perl6::Array::map (@values, Code $expression) returns Lazy multi sub Perl6::List::map (Code $expression : *@values) returns ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 1, 2005 at 10:18 am
    Aug 1, 2005 at 10:58 am
  • Today I wrote some perl 5 code that looked like this: my %index_by_x; my %index_by_y; my %index_by_z; foreach my $thing (@things){ ( $index_by_x{$thing- x_value} ||= Set::Object- new)- ...
    Yuval KogmanYuval Kogman
    Aug 28, 2005 at 9:14 am
    Aug 28, 2005 at 10:07 am
  • Hi, on #perl6, we were wondering how to use() modules from foreign languages which have an incompatible identifier syntax. E.g.: use perl5:Foo::Bar; # fine, no problem # Load JavaScript modules from ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 22, 2005 at 8:38 pm
    Aug 22, 2005 at 9:10 pm
  • class T { has $.a =1; my $.a=2; }; my T $o .= new; $o.a().say; What the result will be please? 1 or 2? Or an error? Thanks, Xinming
    Yiyi HuYiyi Hu
    Aug 17, 2005 at 7:33 pm
    Aug 17, 2005 at 7:38 pm
  • The Perl 6 Summary for the week ending 2005-08-02 In case you were wondering, Darwin ports didn't work it's magic and I still don't have a working Haskell compiler. Thank Juerd for feather, even if I ...
    The Perl 6 SummarizerThe Perl 6 Summarizer
    Aug 3, 2005 at 1:56 pm
    Aug 15, 2005 at 8:59 pm
  • Anyone done any work on parsing Java interface definitions? And, ideally, translating them into roughly equivalent Perl 6? Tim.
    Tim BunceTim Bunce
    Aug 8, 2005 at 9:26 am
    Aug 11, 2005 at 7:15 am
  • More MOP related questions :) In the p5 MetaModel, you can do the following: $obj- meta- add_method('foo' = Perl6::Method- create_instance_method(sub { ... })); $obj- meta- add_method('foo' = ...
    Stevan LittleStevan Little
    Aug 9, 2005 at 10:34 pm
    Aug 10, 2005 at 6:26 pm
  • Hi, ~Str; # "<class "? "Str"? ~::Str; # "<class "? "Str"? ~Str.meta; # "<class "? (fill in please)? ~::Str.meta; # "<class "? (fill in please)? +Str; +::Str; +Str.meta; +::Str.meta; # all errors? ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 5, 2005 at 12:05 pm
    Aug 5, 2005 at 6:07 pm
  • Hi, my $str = "Hello"; $str.ref = Int; # allowed? $str.meta = &some_sub.meta; # allowed? my $str = "Hello"; Str ::= Int; # allowed? ::Str ::= ::Int; # or is this allowed? say $str; # still "Hello"? ...
    Ingo BlechschmidtIngo Blechschmidt
    Aug 5, 2005 at 12:16 pm
    Aug 5, 2005 at 6:04 pm
  • I've been reading the Perl6 "type" and method dispatch discussions with some fear and trepidation. Just following the linear flow of control through a program can sometimes be a mind bend. The type ...
    Nigel HamiltonNigel Hamilton
    Aug 3, 2005 at 4:16 pm
    Aug 3, 2005 at 5:53 pm
  • Here is an update to Synopsis 3 incorporating recent additions. If any of this is wrong or disagreeable, this is the time to say so. Luke
    Luke PalmerLuke Palmer
    Aug 20, 2005 at 5:06 am
    Aug 20, 2005 at 5:06 am
  • Two years ago or so, I became very happy to learn that the left side of binding works just like a routine signature. So what if binding *were* just a routine signature. That is, could we make this: ...
    Luke PalmerLuke Palmer
    Aug 17, 2005 at 10:21 pm
    Aug 17, 2005 at 10:21 pm
  • Perl 6 Summary for 2005-08-02 through 2005-08-10 All~ Welcome to another summary, brought to you by chinese food. The attentive among you will notice that this summary is a day late, because I did ...
    Matt FowlesMatt Fowles
    Aug 11, 2005 at 3:48 am
    Aug 11, 2005 at 3:48 am
Group Navigation
period‹ prev | Aug 2005 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions53
posts412
users58
websiteperl6.org

58 users for August 2005

Larry Wall: 66 posts Yuval Kogman: 46 posts TSa (Thomas Sandlaß): 43 posts Autrijus Tang: 41 posts Ingo Blechschmidt: 33 posts Luke Palmer: 33 posts Stevan Little: 14 posts Dave Rolsky: 11 posts David Formosa \(aka ? the Platypus\): 9 posts Mark Reed: 9 posts Stuart Cook: 7 posts Nicholas Clark: 6 posts Tim Bunce: 6 posts Andrew Shitov: 5 posts Damian Conway: 5 posts Brent 'Dax' Royal-Gordon: 4 posts Juerd: 4 posts Piers Cawley: 4 posts Sam Vilain: 4 posts Adam Kennedy: 3 posts
show more
Archives