Search Discussions
-
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 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 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 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 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 ...
Juerd
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 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 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 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 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 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 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 ...
Juerd
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 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 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 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 { ...
Wolverian
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 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 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 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 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 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 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 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 ...
Juerd
Mar 12, 2005 at 7:32 pm
Mar 16, 2005 at 4:43 am -
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 Adams
Mar 15, 2005 at 7:12 am
Mar 15, 2005 at 7:22 pm -
5
Slices
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 Diephouse
Mar 21, 2005 at 4:45 am
Mar 25, 2005 at 1:14 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 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 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 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 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 Salzenberg
Mar 19, 2005 at 2:36 am
Mar 25, 2005 at 1:49 am -
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 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 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 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 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 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 ...
Juerd
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 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 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 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 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 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 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 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, ...
Chromatic
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 Kogman
Mar 12, 2005 at 7:21 pm
Mar 13, 2005 at 12:11 am
Group Overview
group | perl6-language |
categories | perl |
discussions | 73 |
posts | 640 |
users | 73 |
website | perl6.org |
73 users for March 2005
Archives
- May 2016 (16)
- April 2016 (4)
- March 2016 (6)
- February 2016 (20)
- January 2016 (28)
- December 2015 (20)
- November 2015 (12)
- October 2015 (51)
- September 2015 (35)
- April 2015 (15)
- March 2015 (28)
- February 2015 (35)
- January 2015 (49)
- December 2014 (24)
- November 2014 (18)
- October 2014 (43)
- September 2014 (82)
- August 2014 (58)
- July 2014 (16)
- June 2014 (28)
- May 2014 (63)
- April 2014 (53)
- March 2014 (53)
- February 2014 (21)
- January 2014 (19)
- December 2013 (48)
- November 2013 (110)
- October 2013 (35)
- September 2013 (31)
- August 2013 (40)
- July 2013 (48)
- June 2013 (53)
- May 2013 (39)
- April 2013 (20)
- March 2013 (31)
- February 2013 (22)
- January 2013 (15)
- December 2012 (6)
- November 2012 (10)
- October 2012 (12)
- September 2012 (25)
- August 2012 (16)
- July 2012 (45)
- June 2012 (38)
- May 2012 (35)
- April 2012 (61)
- March 2012 (68)
- February 2012 (39)
- January 2012 (25)
- December 2011 (15)
- November 2011 (12)
- October 2011 (13)
- September 2011 (24)
- August 2011 (62)
- July 2011 (31)
- June 2011 (29)
- May 2011 (17)
- April 2011 (5)
- March 2011 (25)
- February 2011 (22)
- January 2011 (20)
- December 2010 (25)
- November 2010 (124)
- October 2010 (101)
- September 2010 (63)
- August 2010 (104)
- July 2010 (219)
- June 2010 (91)
- May 2010 (110)
- April 2010 (171)
- March 2010 (152)
- February 2010 (154)
- January 2010 (65)
- December 2009 (87)
- November 2009 (89)
- October 2009 (169)
- September 2009 (173)
- August 2009 (324)
- July 2009 (157)
- June 2009 (158)
- May 2009 (415)
- April 2009 (128)
- March 2009 (331)
- February 2009 (457)
- January 2009 (306)
- December 2008 (270)
- November 2008 (130)
- October 2008 (110)
- September 2008 (188)
- August 2008 (175)
- July 2008 (70)
- June 2008 (125)
- May 2008 (204)
- April 2008 (425)
- March 2008 (141)
- February 2008 (86)
- January 2008 (140)
- December 2007 (153)
- November 2007 (53)
- October 2007 (19)
- September 2007 (69)
- August 2007 (22)
- July 2007 (22)
- June 2007 (239)
- May 2007 (164)
- April 2007 (106)
- March 2007 (171)
- February 2007 (166)
- January 2007 (175)
- December 2006 (69)
- November 2006 (122)
- October 2006 (301)
- September 2006 (306)
- August 2006 (329)
- July 2006 (183)
- June 2006 (113)
- May 2006 (239)
- April 2006 (314)
- March 2006 (90)
- February 2006 (183)
- January 2006 (193)
- December 2005 (196)
- November 2005 (307)
- October 2005 (613)
- September 2005 (338)
- August 2005 (412)
- July 2005 (505)
- June 2005 (410)
- May 2005 (913)
- April 2005 (635)
- March 2005 (640)
- February 2005 (440)
- January 2005 (72)
- December 2004 (249)
- November 2004 (151)
- October 2004 (34)
- September 2004 (290)
- August 2004 (207)
- July 2004 (335)
- June 2004 (188)
- May 2004 (172)
- April 2004 (403)
- March 2004 (217)
- February 2004 (221)
- January 2004 (180)
- December 2003 (166)
- November 2003 (193)
- October 2003 (46)
- September 2003 (104)
- August 2003 (100)
- July 2003 (78)
- June 2003 (106)
- May 2003 (306)
- April 2003 (804)
- March 2003 (523)
- February 2003 (137)
- January 2003 (635)
- December 2002 (425)
- November 2002 (570)
- October 2002 (837)
- September 2002 (447)
- August 2002 (385)
- July 2002 (238)
- June 2002 (187)
- May 2002 (215)
- April 2002 (493)
- March 2002 (72)
- February 2002 (80)
- January 2002 (290)
- December 2001 (34)
- November 2001 (33)
- October 2001 (417)
- September 2001 (210)
- August 2001 (185)
- July 2001 (277)
- June 2001 (290)
- May 2001 (638)
- April 2001 (503)
- March 2001 (186)
- February 2001 (595)
- January 2001 (151)
- December 2000 (28)
- November 2000 (6)
- October 2000 (307)
- September 2000 (1,508)
- August 2000 (3,476)