FAQ

Search Discussions

73 discussions - 640 posts

  • I just posted a fresh copy of S29 to: http://www.rodadams.net/Perl/S29.pod http://www.rodadams.net/Perl/S29.html New: All defined functions have been restructured into packages. Perl6::Arrays, ...
    Rod AdamsRod Adams
    Mar 16, 2005 at 8:18 am
    Apr 3, 2005 at 12:56 am
  • I'm working on enhancing Perl6::Subs[*] to support more parameter traits than just C<is required . I have some questions about parameters and traits. (These questions all apply to pure Perl 6, which ...
    Chip SalzenbergChip Salzenberg
    Mar 25, 2005 at 6:53 pm
    Apr 5, 2005 at 3:45 pm
  • There's a discussion going on #perl6/irc.freenode.org right now wondering about what .method means. We'd all assumed it meant $self.method (where $self is always the method invocant) but then had a ...
    Michael G SchwernMichael G Schwern
    Mar 17, 2005 at 6:52 am
    Apr 4, 2005 at 1:06 pm
  • Wherein I propose (to the wrong list, sigh) a re-envisioning of Kwid in a more POD-like form. I did leave out some POD markup forms. Assume that, if I did not mention them, then I think they should ...
    Aaron ShermanAaron Sherman
    Mar 15, 2005 at 4:46 pm
    Mar 18, 2005 at 6:02 am
  • In #perl6, Freenode, after again having to explain that "true" is the opposite of "not" and NOT the value for "true", and that "false" doesn't exist, and that the real true value is "bool::true" and ...
    JuerdJuerd
    Mar 15, 2005 at 9:52 am
    May 24, 2005 at 4:11 pm
  • Barring objections, I'm going to attempt to compile a S29. Plan of attack: I'm using a recent copy of Perl 5's perlfunc as a very rough template. At some point, I'll drudge through the A's and S's to ...
    Rod AdamsRod Adams
    Mar 13, 2005 at 7:15 am
    Mar 16, 2005 at 12:07 am
  • : this particular example should probably just die on the fact that $" : isn't declared, since there's no $" in Perl 6. : : Is $" okay as a variable name? Is everything from perlvar.pod legal? :) ...
    Larry WallLarry Wall
    Mar 26, 2005 at 8:27 am
    Apr 3, 2005 at 9:03 am
  • It seems to me that there are several advantages to making a group of multi with the same short name a single object, of type MultiSub|MultiMethod, which internally holds references to the all the ...
    Rod AdamsRod Adams
    Mar 9, 2005 at 7:11 am
    Mar 11, 2005 at 8:55 pm
  • What is output: sub foo($x, ?$y, *@z) { say "x = $x; y = $y; z = @z[]"; } my @a = (1,2,3); foo($x, @a); Thanks, Luke
    Luke PalmerLuke Palmer
    Mar 6, 2005 at 9:11 am
    Mar 9, 2005 at 6:01 pm
  • I was trying to work out how to get non-integer indexes working for an array -- initially using linear interpolation, though perhaps later it would be generalized. Can anyone comment on whether this ...
    Dave WhippDave Whipp
    Mar 7, 2005 at 9:21 pm
    Mar 14, 2005 at 6:45 pm
  • I need some clarification on the semantics of subroutine or method return statements, regarding whether copies or references are returned. It will help me in my p6ification of p5 code. Say I had a ...
    Darren DuncanDarren Duncan
    Mar 17, 2005 at 5:49 am
    Mar 29, 2005 at 8:38 am
  • Without introduction, I'll just present the syntax idea: f/%03d %15s/$foo, $bar/; This gives s?printf to any expression with short and concise syntax, making printf redundant, which means I won't ...
    JuerdJuerd
    Mar 12, 2005 at 10:57 pm
    Mar 14, 2005 at 1:26 am
  • I gave a talk on Perl 6 Junctions at the Thousand Oaks Perl Mongers meeting last night http://www.hcoop.net/~terry/perl/talks/p6-junctions/index.html and two questions/desires came out of it: 1: will ...
    Terrence BrannonTerrence Brannon
    Mar 10, 2005 at 11:56 am
    Mar 14, 2005 at 9:53 am
  • : Given this Pugs program, t.p6: : : my $fh = open(@ARGS[0]); : my @lines = =$fh; : $fh.close(); : for @lines { print"$_" } : : running: : : pugs t.p6 t.p6 : : produces no output. Move $fh.close() to ...
    Larry WallLarry Wall
    Mar 14, 2005 at 4:06 pm
    Mar 15, 2005 at 5:29 pm
  • Hola... I've spend some time these last few days slowly getting currying to work in pugs. L<S06/Currying states: "takes a series of named arguments" The way binding is implemented in pugs does not ...
    Yuval KogmanYuval Kogman
    Mar 23, 2005 at 3:44 pm
    Mar 29, 2005 at 3:16 pm
  • Hello all, while writing some experimental code with Pugs, I realised that it is a bit hard for me to parse the following type of declaration: sub greeting (Str $person) returns Str is export { ...
    WolverianWolverian
    Mar 7, 2005 at 10:56 am
    Mar 9, 2005 at 5:19 pm
  • Greetings, I have just started to write a large amount of Perl 6 code, partly to help with testing the Pugs (and later Parrot) implementation of the language. During this process, I discovered a few ...
    Darren DuncanDarren Duncan
    Mar 8, 2005 at 11:50 pm
    Mar 10, 2005 at 1:08 pm
  • I propose that we make a few decisions about strings in Perl. I've read all the synopses, several list threads on the topic, and a few web guides to Unicode. I've also thought a lot about how to ...
    Rod AdamsRod Adams
    Mar 19, 2005 at 11:07 pm
    Mar 28, 2005 at 8:23 pm
  • A06 says: If you |shift| or |pop| without an argument, it shifts or pops whatever slurpy array is in scope. Shall we assume that @_ is always an alias for this array, so I can say something like: ...
    Rod AdamsRod Adams
    Mar 15, 2005 at 7:54 am
    Mar 20, 2005 at 11:36 pm
  • There's been rumblings on this list lately about making Perl perform more Logic based programming functions, a la Prolog. Having done some work with Prolog in academia, I fully understand why this is ...
    Rod AdamsRod Adams
    Mar 9, 2005 at 8:41 am
    Mar 9, 2005 at 11:17 pm
  • All this Haskell programming has opened my eyes to what our multimethod dispatch could be. As we have seen with C<sort , the dispatch system is a pattern matcher. But it's a pretty terrible one. I ...
    Luke PalmerLuke Palmer
    Mar 8, 2005 at 6:58 pm
    Mar 9, 2005 at 11:07 am
  • Since the line between rules and subs is already blurring significantly, I want to blur it a little more. I want to write rules which can take parameters. Consider that I am parsing HTML (a very ...
    Rod AdamsRod Adams
    Mar 2, 2005 at 5:06 am
    Mar 2, 2005 at 8:30 pm
  • I'd like to annotate Perl 6 parameters and other entities using traits, since that's the best way (I know of) to have them appear immediately in the text of the program where they are. Supposing I ...
    Chip SalzenbergChip Salzenberg
    Mar 31, 2005 at 6:42 pm
    Apr 2, 2005 at 6:13 pm
  • An old exegesis says that ~<foo bar is "foo bar". It was still _('foo', 'bar') back then, though. This behaviour I couldn't find in the Synopses, but it wouldn't be the first time I completely ...
    JuerdJuerd
    Mar 12, 2005 at 7:32 pm
    Mar 16, 2005 at 4:43 am
  • Does Perl need a no-op function? With the addition of "no bare literals", it makes constructs like 1 while some_func(); an error. I propose creating a no-op function "nothing" that can be used here ...
    Rod AdamsRod Adams
    Mar 21, 2005 at 3:08 am
    Mar 22, 2005 at 3:57 am
  • I'm trying to define zip(), but can't come up with a signature for a function that returns a lazy list of lvalues, but the list itself is not lazy? As a second matter, can you declare a type for the ...
    Rod AdamsRod Adams
    Mar 15, 2005 at 8:47 am
    Mar 16, 2005 at 10:22 pm
  • How am I supposed to define a signature that says "A scalar that refers to a hash or array element, but do not evaluate or autovivify the element"? Or are these two are now strictly methods without ...
    Rod AdamsRod Adams
    Mar 15, 2005 at 7:12 am
    Mar 15, 2005 at 7:22 pm
  • Is it possible to assign to an array slice? @array[0..4] = ( 0..4 ); # splice @array, 0, 5, 0..4 If so (and I'm hoping it is), is there an equivalent of Ruby's `[]=` method? (Is there a way to define ...
    Matt DiephouseMatt Diephouse
    Mar 21, 2005 at 4:45 am
    Mar 25, 2005 at 1:14 am
  • C<study is an odd sort of function. AFAIK, it's the only optimization hint that we have. Will the P6RE even use this information, and is it worth keeping? My gut feeling tells me that it will be ...
    Rod AdamsRod Adams
    Mar 21, 2005 at 4:45 am
    Mar 21, 2005 at 11:04 am
  • Hi all, I'm hacking on pugs. I've added a Config.hs which is generated from the build system's perl's Config.pm. This allows me to expose the Perl6 magical variable $?OS. There are a lot of other ...
    Brian IngersonBrian Ingerson
    Mar 3, 2005 at 5:30 pm
    Mar 4, 2005 at 2:30 am
  • Perl 6 has some more interesting capabilities for lexical scoped hinting of tradeoff preferences. For example: use less precision; # the default nums created in this scope are # lower precision ...
    Yuval KogmanYuval Kogman
    Mar 30, 2005 at 8:20 am
    Apr 2, 2005 at 7:51 pm
  • ZL Hi, given an array: @a = ('E1', 'E2', ..., 'En'); ZL Is there an easy way, hopefully one liner, to do the following without a ZL loop? If not, will Perl support this in Perl 6? ZL $hash- {E1}- ...
    Uri GuttmanUri Guttman
    Mar 28, 2005 at 11:43 pm
    Mar 29, 2005 at 8:04 pm
  • I thought I'd just drop in a quick note to people to let you know that PPI 0.903 was just release, which fixs the last significant performance bug. PPI is now completely leak-free and ...
    Adam KennedyAdam Kennedy
    Mar 25, 2005 at 11:28 am
    Mar 26, 2005 at 11:37 pm
  • Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators ...
    Chip SalzenbergChip Salzenberg
    Mar 19, 2005 at 2:36 am
    Mar 25, 2005 at 1:49 am
  • I vote for axing C<quotemeta in favor of C<q:meta// and C<q:m// . -- Rod Adams
    Rod AdamsRod Adams
    Mar 16, 2005 at 8:07 am
    Mar 16, 2005 at 10:18 pm
  • Just a quick question. In Pugs t/op/arith.t we have: sub tryeq_sloppy ($lhs, $rhs, ?$todo1 = '') { ... ok($lhs==$rhs,$ todo); ... } But it breaks the $?CALLER based error reporting, because it ...
    Autrijus TangAutrijus Tang
    Mar 16, 2005 at 12:46 pm
    Mar 16, 2005 at 6:51 pm
  • What should index("Hello", "", 999) return in perl6? In perl5 that returns 5, but IMHO -1 would be right result. -- Markus Laire <Jam. 1:5-6
    Markus LaireMarkus Laire
    Mar 16, 2005 at 3:32 pm
    Mar 16, 2005 at 6:14 pm
  • One function I noticed on the S29 list was reset(). With lexically scoped variables, reset is almost useless. "Perl in a Nutshell" calls it "vaguely deprecated". Can we remove the vagueness and ...
    Steve PetersSteve Peters
    Mar 15, 2005 at 8:39 pm
    Mar 15, 2005 at 11:58 pm
  • I was trying to implement unary * (list flatten or "splat" operator) in pugs yesterday, and I came to the conclusion that I really don't grok how context works in Perl6 (I also really don't grok ...
    Aldo CalpiniAldo Calpini
    Mar 9, 2005 at 11:12 am
    Mar 9, 2005 at 6:41 pm
  • Is there a way to find the name of &?SUB ? It would be useful for error-logging and -reporting. --Dks
    David StorrsDavid Storrs
    Mar 8, 2005 at 5:49 am
    Mar 8, 2005 at 7:19 am
  • It was a matter of time, of course, after my last thread. How often do we want chunks of a string or list? And how often do we abuse a temporary copy and substr/splice for that? What if instead of my ...
    JuerdJuerd
    Mar 28, 2005 at 5:12 pm
    Mar 29, 2005 at 2:11 pm
  • We were discussing on #perl6, and thought that the feature: sub foo () { say "Blech"; } { foo() } xx 5; Would be useful. Since it is dwimmery, and you wouldn't want the closure to execute if you ...
    Luke PalmerLuke Palmer
    Mar 28, 2005 at 1:54 pm
    Mar 29, 2005 at 2:01 am
  • It looks like Duff's Device <http://www.lysator.liu.se/c/duffs-device.html won't be possible in Perl6. This is a shame. sub duff ($from) { # real life would use reference here, this is a demo # ...
    Gaal YahasGaal Yahas
    Mar 20, 2005 at 6:41 pm
    Mar 22, 2005 at 6:37 am
  • Are the following all legal and equivalent? for 1..10 - $a, $b { say $a, $b }; for 1..10 { say $^a, $^b }; sub foo ($a, $b) { say $a, $b }; for 1..10 &foo; What happens with: for 1..10 - *@a { say @a ...
    Rod AdamsRod Adams
    Mar 13, 2005 at 1:48 am
    Mar 14, 2005 at 12:19 pm
  • Hi all, so Guido is talking about his reasoning behind dropping lambda, reduce(), filter() and map() in the next generation of Python: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 [Prime ...
    Aristotle PagaltzisAristotle Pagaltzis
    Mar 13, 2005 at 10:38 pm
    Mar 14, 2005 at 5:48 am
  • On behalf of the Parrot team I'm proud to announce the release of Parrot 0.1.2. What is Parrot? Parrot is a virtual machine aimed at running Perl6 and other dynamic languages. Parrot 0.1.2 contains a ...
    Leopold ToetschLeopold Toetsch
    Mar 6, 2005 at 4:05 pm
    Mar 7, 2005 at 4:17 pm
  • It looks like the current pugs array interpolation doesn't quite match the description in S02. S02 says that container references automatically dereference to the appropriate (white space separated) ...
    Garrett RooneyGarrett Rooney
    Mar 5, 2005 at 4:22 pm
    Mar 5, 2005 at 9:37 pm
  • I was thinking about how binding of arguments to parameters in a sub/method call would happen. Seems to be a darn tricky thing with all sorts of potential pitfalls! I have a few questions. Consider ...
    Abhijit MahabalAbhijit Mahabal
    Mar 3, 2005 at 5:58 am
    Mar 3, 2005 at 4:32 pm
  • Forwarded... No. Please, no. :) As I see it, Perl 6 has a chance to start over with a very small set of core libraries -- perhaps embarrassingly small -- so as not to entomb our current, ...
    ChromaticChromatic
    Mar 26, 2005 at 10:13 am
    Mar 27, 2005 at 12:42 am
  • Hola, Object::Realize::Later and friends in perl5 get the job done, but have many caveats. Will there be a mechanism to provide a way to do inplace replacement of an object's, err, thingyness (class, ...
    Yuval KogmanYuval Kogman
    Mar 12, 2005 at 7:21 pm
    Mar 13, 2005 at 12:11 am
Group Navigation
period‹ prev | Mar 2005 | next ›
Group Overview
groupperl6-language @
categoriesperl
discussions73
posts640
users73
websiteperl6.org

73 users for March 2005

Larry Wall: 135 posts Rod Adams: 83 posts Luke Palmer: 54 posts Juerd: 47 posts Thomas Sandlaß: 47 posts Aaron Sherman: 36 posts David Storrs: 19 posts Darren Duncan: 14 posts Yuval Kogman: 13 posts Autrijus Tang: 12 posts Uri Guttman: 12 posts Leopold Toetsch: 11 posts Brian Ingerson: 9 posts Chromatic: 8 posts Aldo Calpini: 7 posts Brent 'Dax' Royal-Gordon: 7 posts Chip Salzenberg: 7 posts Miroslav Silovic: 7 posts Dave Whipp: 6 posts Michael G Schwern: 6 posts
show more
Archives