Re: [perl6/specs] 58fe2d: [S12] spec setting and getting values of attribute...

2010-09-30 Thread Timothy S. Nelson
On Fri, 1 Oct 2010, Damian Conway wrote: Jonathan wrote: Sounds like the encapsulation breaking thingy probably wants to be looking for some pragma to have been used in the lexical scope of the caller, maybe. I'd rather that we called it something other than MONKEY_TYPING though. Different

Re: [perl6/specs] 58fe2d: [S12] spec setting and getting values of attribute...

2010-09-30 Thread Timothy S. Nelson
On Thu, 30 Sep 2010, Damian Conway wrote: And thus C.get_value and C.set_value are just convenient access points for the same behaviour. Yes. People are going to shoot themselves in the foot anyway, so let's legalize semi-automatic weapons as well. Well, of course! What are you, a

Re: Natural Language and Perl 6

2010-08-03 Thread Timothy S. Nelson
On Tue, 3 Aug 2010, Carl Mäsak wrote: Jason (): No specific tool is best suited for natural language processing. There was apparently a time in which everyone thought that a formal grammar could clearly define any natural language, but I don't think anyone succeeded at creating a complete

Natural Language and Perl 6

2010-08-01 Thread Timothy S. Nelson
Hi. I'm wondering if any thought has been given to natural language processing with Perl 6 grammars. :) - | Name: Tim Nelson | Because the Creator is,| | E-mail: wayl...@wayland.id.au| I

Reversible grammars

2010-06-04 Thread Timothy S. Nelson
Hi. I've been thinking more about reversible grammars. Specifically, I'm wondering if the following pseudo-code will be possible: ## Match a grammar here $match = Grammar.match($text) ## Need some code here to get $submatch from $match $submatch.Str = fred ## Reverse Grammar $text =

Re: Reversible grammars

2010-06-04 Thread Timothy S. Nelson
On Fri, 4 Jun 2010, Stefan O'Rear wrote: On Sat, Jun 05, 2010 at 09:19:01AM +1000, Timothy S. Nelson wrote: Hi. I've been thinking more about reversible grammars. Specifically, I'm wondering if the following pseudo-code will be possible: ## Match a grammar here $match

Re: Ideas for a Object-Belongs-to-Thread threading model

2010-05-11 Thread Timothy S. Nelson
On Tue, 11 May 2010, Daniel Ruoso wrote: 2 - The interpreter implements a scheduler, just like POE. I don't have a clue about threading, but I saw POE, and since I know that's an event loop mechanism, I thought I'd comment that I want to be able to do GTK programming, which I think

Re: A new era for Temporal

2010-04-09 Thread Timothy S. Nelson
On Thu, 8 Apr 2010, Carl Mäsak wrote: We (mberends and masak) just pushed a commit to S32::Temporal which completely replaces what we had before. The changes are rooted in hours of discussion on #perl6, and we feel rather more confident with what we have now than with what we had before. That

Re: r29976 - docs/Perl6/Spec

2010-03-09 Thread Timothy S. Nelson
On Mon, 8 Mar 2010, Carl Mäsak wrote: Meanwhile, the uncanny similarities between Perl 6 and Algol 68 continue to strike me: http://en.wikipedia.org/wiki/ALGOL_68 (]): ] ALGOL 68 [...] was conceived as a successor to the ALGOL 60 programming ] language, designed with the goal of a much wider

Re: Functional-style pattern matching

2010-03-09 Thread Timothy S. Nelson
On Tue, 9 Mar 2010, Daniel Ruoso wrote: Em Seg, 2010-03-08 às 12:45 -0800, Little Walker escreveu: I've been looking around to see if there's been any discussion of introducing functional programming-style pattern matching for method/ function dispatch. Could someone point me to any such

Re: Temporal seems a bit wibbly-wobbly

2010-02-23 Thread Timothy S. Nelson
On Tue, 23 Feb 2010, Nicholas Clark wrote: On Tue, Feb 23, 2010 at 10:02:02AM +0300, Richard Hainsworth wrote: - Time Zone, which can differ from GMT by halves of an hour. quarter hours in at least one place (Nepal) This doesn't affect your reasoning. Also, time zone abbreviations are

Re: Gripes about Pod6 (S26)

2010-02-12 Thread Timothy S. Nelson
On Wed, 10 Feb 2010, Jon Lang wrote: John Gabriele wrote: Personally, I've always thought that Perl has a very natural feel to it, and deserves a doc markup format that's also natural: [Markdown] (and [Pandoc]'s Markdown has just the right additions, IMO). [Markdown]:

Re: Gripes about Pod6 (S26)

2010-02-12 Thread Timothy S. Nelson
On Fri, 12 Feb 2010, Brandon S. Allbery KF8NH wrote: On Feb 12, 2010, at 19:57 , Timothy S. Nelson wrote: On Wed, 10 Feb 2010, Jon Lang wrote: John Gabriele wrote: Personally, I've always thought that Perl has a very natural feel to it, and deserves a doc markup format that's also natural

Re: Type system for Perl 6

2010-02-04 Thread Timothy S. Nelson
On Fri, 5 Feb 2010, Giuseppe Castagna wrote: Hi, I would like to know where I can find the latest documentation on the type (and above all subtype) system for Perl 6. The synopsis does not say much about it. http://perlcabal.org/syn/ There's no one document there that contains all the

Lenses?

2009-09-26 Thread Timothy S. Nelson
I've been wondering about lenses recently. The page at http://www.seas.upenn.edu/~harmony/ seems to give an overview, and I know that augeas also uses lenses. It seems to me that a grammar can be thought of as a one-way lens. I was wondering whether the bi-directional idea might be

Re: How can i contribute for perl 6 ?

2009-09-16 Thread Timothy S. Nelson
On Tue, 15 Sep 2009, Patrick R. Michaud wrote: On Tue, Sep 15, 2009 at 10:02:02PM +1000, Timothy S. Nelson wrote: On Tue, 15 Sep 2009, Saravanan Thiyagarajan wrote: Would like to be a volunteer in working for perl-6. Can some one help me to get into right direction ? Sure

Re: How can i contribute for perl 6 ?

2009-09-16 Thread Timothy S. Nelson
On Tue, 15 Sep 2009, Saravanan T wrote: Thanks Tim for the link, I tried IRC channel felt like not to disturb from their serious discussion with a newbie question. Feel free. There are a few people in the serious discussions who will ignore questions not directly targetted at them, but a

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-16 Thread Timothy S. Nelson
On Wed, 16 Sep 2009, Carl Mäsak wrote: Tim (), Raphael (): Some XML related stuff: XML parser: http://github.com/fperrad/xml/ Tree manipulation: http://github.com/wayland/Tree/tree/master Thanks. Any reason they're not known to proto? The latter I wasn't really aware of. It's now added

Re: How can i contribute for perl 6 ?

2009-09-16 Thread Timothy S. Nelson
On Wed, 16 Sep 2009, Geoffrey Broadwell wrote: On Wed, 2009-09-16 at 19:49 +1000, Timothy S. Nelson wrote: +1. I have a set of 7 bookmarks that load in tabs that I call my Perl 6 bookmarks. I load this group of tabs into a separate web browser window when I'm doing Perl 6 stuff. That link

Re: How can i contribute for perl 6 ?

2009-09-15 Thread Timothy S. Nelson
On Tue, 15 Sep 2009, Saravanan Thiyagarajan wrote: Would like to be a volunteer in working for perl-6. Can some one help me to get into right direction ? Sure. The best way to help depends on your skill-set. One place to start is at http://www.rakudo.org/how-to-help That doesn't cover

Re: Synopsis 02: Range objects [recap]

2009-08-26 Thread Timothy S. Nelson
On Wed, 26 Aug 2009, Michael Zedeler wrote: Thanks to everyone who has posted their thoughts on Ranges. Here are the conclusions I have drawn: Ranges are for checking whether something is within a given interval. RangeIterators are for iterating over elements in a Range with a given step

Re: directories of interest, a multiplicity alternative to CWD

2009-08-19 Thread Timothy S. Nelson
On Wed, 19 Aug 2009, Darren Duncan wrote: My proposal is to have all filesystem paths as seen within Perl being relative paths, and that there are multiple filesystem roots which can be referred to by name and each relative path is explicitly relative to a named root; each of these named

Re: Filename literals

2009-08-19 Thread Timothy S. Nelson
On Wed, 19 Aug 2009, Mark J. Reed wrote: I don't think $file1.name == $file2.name should talk to the FS, because I think File#name t+r whatever) should return a plain Str. Having magical FilePathName objects is handy, but sometimes you want to get the filename as a dumb string to do stringish

Re: Filename literals

2009-08-19 Thread Timothy S. Nelson
I should've mentioned, though, we're currently using the smartmatch operator for this, so I'm thinking maybe I'll just stick with that. :) - | Name: Tim Nelson | Because the Creator is,| |

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

2009-08-18 Thread Timothy S. Nelson
On Tue, 18 Aug 2009, 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 chdir() under the hood?

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

2009-08-18 Thread Timothy S. Nelson
On Tue, 18 Aug 2009, Mark J. Reed wrote: On Tue, Aug 18, 2009 at 11:04 AM, David Greendavid.gr...@telus.net 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

Re: Filename literals

2009-08-18 Thread Timothy S. Nelson
On Tue, 18 Aug 2009, David Green wrote: On 2009-Aug-17, at 8:36 am, Jon Lang wrote: Timothy S. Nelson wrote: Well, my main thought in this context is that the stuff that can be done to the inside of a file can also be done to other streams -- TCP sockets for example (I know

Re: $*CWD and chdir()

2009-08-18 Thread Timothy S. Nelson
On Tue, 18 Aug 2009, Jan Ingvoldstad wrote: On Tue, Aug 18, 2009 at 2:33 PM, David Green david.gr...@telus.net 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

Re: Filename literals

2009-08-18 Thread Timothy S. Nelson
On Tue, 18 Aug 2009, Leon Timmermans wrote: Reading this discussion, I'm getting the feeling that filename literals are increasingly getting magical, something that I don't think is a good development. The only sane way to deal with filenames is treating them as opaque binary strings, making

Re: $*CWD and chdir()

2009-08-18 Thread Timothy S. Nelson
On Wed, 19 Aug 2009, Carlin Bingham wrote: 2009/8/19 Timothy S. Nelson wayl...@wayland.id.au:        So, if P5 does it for some global (note: global != environment) variables, then why not do it for some in P6? Because if (for some reason) I do: $ = 5; # Which calls setuid(5); print

Re: $*CWD and chdir()

2009-08-18 Thread Timothy S. Nelson
Ok, here's a fairly significant point posted on IRC. TimToady wayland76: the point of using $*CWD would be (and would *have* to be, given how context vars work) to give each thread its own working directory, independent of the process as a whole Now, given that chdir is an OS

Last IO discussion

2009-08-18 Thread Timothy S. Nelson
See this link. http://archive.netbsd.se/?ml=perl6-languagea=2008-11t=9170058 In particular, I thought Tom Christiansen's long message had some relevant info about filename literals. :) - | Name: Tim Nelson

Re: Filename literals

2009-08-17 Thread Timothy S. Nelson
On Mon, 17 Aug 2009, Jon Lang wrote: Well, I definitely think there needs to be a class that combines the inside and the outside, or the data and the metadata.  Certainly the separate parts will exist separately for purposes of implementation, but there needs to be a user-friendlier view

Re: Filename literals

2009-08-16 Thread Timothy S. Nelson
On Sun, 16 Aug 2009, David Green wrote: On 2009-Aug-15, at 9:22 am, Jon Lang wrote: IOW, your outside the file stuff is whatever can be done without having to open the file, and your inside the file is whatever only makes sense once the file has been opened. Correct? Pretty much,

Re: Filename literals

2009-08-15 Thread Timothy S. Nelson
On Fri, 14 Aug 2009, Darren Duncan wrote: Richard Hainsworth wrote: Would it be possible to remove the special purpose of \ from strings within IO constructs? This would mean '\' could be used in naming paths as an alternative to '/', thus allowing windows and unix strings to be equivalent,

Re: Filename literals

2009-08-15 Thread Timothy S. Nelson
On Sat, 15 Aug 2009, Timothy S. Nelson wrote: Considering, though, that we're talking about a magic perl quoting syntax, we could offer people the option of the following two: q:io{C:\Windows} # Does what you want q:io:qq:{C:\\Windows} # Does the same thing Wouldn't that cover

Re: Filename literals

2009-08-15 Thread Timothy S. Nelson
On Sat, 15 Aug 2009, Austin Hastings wrote: This whole thread seems oriented around two points: 1. Strings should not carry the burden of umpty-ump filesystem checking methods. 2. It should be possible to specify a filesystem entity using something nearly indistinguishable from standard

Re: Filename literals

2009-08-14 Thread Timothy S. Nelson
More ideas: On Thu, 13 Aug 2009, Hinrik Örn Sigurðsson wrote: # bin/perl on Unix my $rel = qf/usr bin perl/; # /usr/bin/perl my $abs = qf[/usr bin perl]; ...and on Windows, would the above result in C:\/usr\bin\perl ? :) # The following both result in the same object

Re: Filename literals

2009-08-14 Thread Timothy S. Nelson
On Thu, 13 Aug 2009, Hinrik Örn Sigurðsson wrote: Imagine two roles, Filename and Dirname (or Path::File / Path::Dir). I ...or imagine just one, called IO::FSNode. http://perlcabal.org/syn/S32/IO.html#IO::FSNode Btw, kudos for the special quoting idea -- I love it

Re: Filename literals

2009-08-14 Thread Timothy S. Nelson
On Fri, 14 Aug 2009, Timothy S. Nelson wrote: On Thu, 13 Aug 2009, Hinrik Örn Sigurðsson wrote: Imagine two roles, Filename and Dirname (or Path::File / Path::Dir). I ...or imagine just one, called IO::FSNode. Sorry, I was stupiding again. I'll ask you to imagine 4: IO

Re: comments as preserved meta-data (was Re: Embedded comments ...)

2009-08-12 Thread Timothy S. Nelson
I had an interesting idea I wanted to put out there. If I'm being a good boy and commenting my code, I do things like the following pseudocode: # Get the stuff and do other stuff with it @lines = slurp(file); @otherlines = map { s/foo/bar/ } @lines

Re: xml grammar

2009-08-02 Thread Timothy S. Nelson
On Fri, 31 Jul 2009, Raphael Descamps wrote: Hi, I have seen that wayland76 was playing with an XML Grammar on #perl6, so I think that it was maybe the time to send what I already have done. Raphael: I don't say any of this to discourage you, but to present alternatives to the list.

Building on an installed Parrot (was: Re: Announce: Rakudo Perl 6 development release #19 (Chicago))

2009-07-23 Thread Timothy S. Nelson
On Thu, 23 Jul 2009, Reini Urban wrote: Following up on the parrot-1.4.0 release check on cygwin the release errors are still not being touched. rakudo is still not being able to be built without a parrot build_dir. Building with installed parrot is unsupported, which means creating a package

Re: Re-thinking file test operations

2009-07-09 Thread Timothy S. Nelson
On Thu, 9 Jul 2009, Mark J. Reed wrote: A few months ago (or maybe more) I proposed making pathnames their own type, distinct from (or perhas a subclass of) strings, but easily constructed from strings, maybe with an operator. Having those 29 single-letter methods on such a class would not bug

Re: YAPC::EU and Perl 6 Roles

2009-07-08 Thread Timothy S. Nelson
On Wed, 8 Jul 2009, Ovid wrote: Note that I have no idea where (if anywhere) the type goes in this. Hopefully someone will correct me here. Note that this does not use the roles as roles; it uses them punned as classes. But it does what you asked :). Though I have issues with

Re: YAPC::EU and Perl 6 Roles

2009-07-07 Thread Timothy S. Nelson
On Tue, 7 Jul 2009, Ovid wrote: role Bomb { method fuse (){ say '3 .. 2 .. 1 ..' } method explode () { say 'Rock falls. Everybody dies!' } } role Spouse { method fuse (){ sleep rand(20); say Now! } method explode () { say 'You worthless piece of junk! Why I should ...' }

Re: XOR does not work that way.

2009-06-24 Thread Timothy S. Nelson
I'm just thinking out loud in this e-mail, trying to generate alternatives. What would happen if we had an operator that returned the number of true values? Say we call it boolean plus, or bop. To give one example: 1 bop 3 = 2 Say we're looking at: ($x 1) bop 3 bop ($y

Re: S03- Unicode feed operator, no prefix:=

2009-06-11 Thread Timothy S. Nelson
On Wed, 10 Jun 2009, John M. Dlugosz wrote: I have trouble using the arrow character in general. It's because of the fonts: they have such tiny heads the arrow doesn't show well at all, or match the surrounding character style. So I tend to avoid them on web pages, and any document where

Re: S03- Unicode feed operator, no prefix:=

2009-06-10 Thread Timothy S. Nelson
On Wed, 10 Jun 2009, yary wrote: I'm about halfway through reading Synopsis 3 and have a couple comments/questions. Is there, should there be unicode synonyms for the feed operators? eg == is also ? lArr; LEFTWARDS DOUBLE ARROW == is also ? rArr; RIGHTWARDS DOUBLE ARROW I don't see as

Re: CPAN -- moving forward

2009-06-09 Thread Timothy S. Nelson
On Sat, 30 May 2009, Daniel Ruoso wrote: 1) A package format. This is supposed to be a source format, but different from current model used in CPAN, it's pretty clear already that it can't include a build system, like ExtUtils::MakeMaker or Module::Install. There's already some consensus

Re: [RFC] CPAN6 requirements analysis

2009-05-30 Thread Timothy S. Nelson
On Sat, 30 May 2009, Mark Overmeer wrote: * Timothy S. Nelson (wayl...@wayland.id.au) [090530 03:11]: On Fri, 29 May 2009, Alex Elsayed wrote: Instead, it would go to the distributions, who are already well-prepared to handle packaging. We'd just be providing the tools and material they need

Re: [RFC] CPAN6 requirements analysis

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Daniel Carrera wrote: Timothy S. Nelson wrote: I can confirm that Redhat supports multiple versions: $ rpm -q kernel kernel-2.6.27.5-117.fc10.i686 kernel-2.6.27.12-170.2.5.fc10.i686 kernel-2.6.27.5-117.local.fc10.i686 AFAIK the way RPM implements multiple versions

Re: New CPAN

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Mark Overmeer wrote: * Daniel Carrera (daniel.carr...@theingots.org) [090528 16:07]: Mark Overmeer wrote: In March 2006, Sam Vilain and I started to think about a new CPAN what we named CPAN6. There is a lot of information about the project on http://cpan6.org I know

Re: [RFC] CPAN6 requirements analysis

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Mark Overmeer wrote: * Alex Elsayed (eternal...@gmail.com) [090528 22:17]: While lurking in IRC, I've seen several discussions of what CPAN 6 should look like. I would really like to see a split in terminology being used for the various seperate problems. The

Re: New CPAN

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Daniel Carrera wrote: Timothy S. Nelson wrote: While I've no objection to building the end-user software to support multiple repositories, I know that there are certain segments of the community who are very very keen to keep everything in the one repository. After

Re: Amazing Perl 6

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Jon Lang wrote: On Fri, May 29, 2009 at 6:52 AM, John Macdonald j...@perlwolf.com wrote: Yep, I've done that. But comparing the difference in effort between: - press a key - Google for a web page that has the right character set, cut, refocus, paste means that I don't

Re: [Fwd: Re: New CPAN]

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Austin Hastings wrote: How about Parrot? Because the SMOP Perl 6 implementation doesn't target Parrot, and won't, and we want to include them too. Likewise other P6 implementations. HTH, -

Re: [RFC] CPAN6 requirements analysis

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Mark Overmeer wrote: * PAUSE6; this is an actual network based on the CPAN6 software (see above). It also is not documented here. Pause6 is one implementation of archive maintenance software. In the first version written in Perl5, it implements things like

Re: [RFC] CPAN6 requirements analysis

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Daniel Ruoso wrote: So, I'd expect to have a Debian archive, in the Debian case, hosted by the Debian Perl group (which packages about ~ 500 CPAN modules to Debian today) with the binary packages targetting each of the Debian versions... The same would go for RedHat and

Re: [RFC] CPAN6 requirements analysis

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Alex Elsayed wrote: This problem strikes me as intractable - I think the only thing we can do is provide a dependency specifier, clearly tagged as being external to the CPAN 6 archive, with a sensible name that allows a human to intervene and find the correct package for

Re: Amazing Perl 6

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, John M. Dlugosz wrote: Ah yes, on the PC historically you hold down the ALT key and type the code with the numpad keys. At least when I used it, this was a decimal, rather than hex number, and had to be preceded by a 0 (zero). So if anyone is still on eg.

Re: [RFC] CPAN6 requirements analysis

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Alex Elsayed wrote: IMO, that discussion should go in the direction of additional services: the CPAN archive distributes what authors publish. The install tools (CPAN.pm/CPANPLUS/successors) make that code fit in specific operating systems. As a service, other people can

Re: renaming or adding some operators

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Jon Lang wrote: On Fri, May 29, 2009 at 6:53 PM, Darren Duncan dar...@darrenduncan.net wrote: I had some thoughts lately about the Perl 6 operators, and wanted to bounce some ideas. Firstly, regarding the string replication ops as documented in Synopsis 3, 'x'

Re: New CPAN

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Mark Overmeer wrote: * Timothy S. Nelson (wayl...@wayland.id.au) [090529 11:26]: I'd like to suggest to Mark and Daniel that, seeing as I won't be making it to any Perl event outside Australia, and maybe not even some inside, and Mark can't keep up with IRC (my

Re: renaming or adding some operators

2009-05-29 Thread Timothy S. Nelson
On Fri, 29 May 2009, Darren Duncan wrote: Timothy S. Nelson wrote: How about if xx became x, and then we did things like: [~] @list x $count ...to get the string replciation? Maybe you meant this? [~] $item x $count No, I'm pretty sure I meant what I wrote. But if x

Re: [RFC] CPAN6 requirements analysis

2009-05-28 Thread Timothy S. Nelson
On Thu, 28 May 2009, Alex Elsayed wrote: On Thursday 28 May 2009 4:04:28 pm Daniel Carrera wrote: At first I liked wayland76's proposal, but now I have a new concern: Most package managers are not designed to hold multiple versions of the same package. As indicated in S11, it is important

Re: Amazing Perl 6

2009-05-28 Thread Timothy S. Nelson
On Thu, 28 May 2009, John M. Dlugosz wrote: John Macdonald john-at-perlwolf.com |Perl 6| wrote: However, the assumption fails if process is supposed to mean that everyone is capable of generating Unicode in the messages that they are writing. I don't create non-English text often enough to

Re: Idea: Literate programing

2009-05-25 Thread Timothy S. Nelson
On Tue, 26 May 2009, Daniel Carrera wrote: Carl Mäsak wrote: In this way, a relatively simple change makes Perl 6 Pod able to do literate programing for anyone who is interested. What do you think? That it sounds like a good idea for a sublanguage-extending module. I'm not familiar with

Re: Meditations on a Loop

2009-05-22 Thread Timothy S. Nelson
On Fri, 22 May 2009, Jonathan Worthington wrote: Daniel Ruoso wrote: Em Sex, 2009-05-22 às 01:25 -0500, John M. Dlugosz escreveu: @primes = do $_ if prime($_) for 1..100; becomes @primes = $_ when prime($_) for 1..100; you gained one stroke, it's certainly better... I think it's

Re: Meditations on a Loop

2009-05-20 Thread Timothy S. Nelson
On Wed, 20 May 2009, John M. Dlugosz wrote: If you would be so kind, please take a look at http://www.dlugosz.com/Perl6/web/med-loop.html. I spent a couple days on this, and besides needing it checked for correctness, found a few issues as well as more food for thought. John, I

Re: Unicode bracketing spec question

2009-04-24 Thread Timothy S. Nelson
On Thu, 23 Apr 2009, Helmut Wollmersdorfer wrote: Timothy S. Nelson wrote: I note that S02 says that the unicode classes Ps/Pe are blessed to act as opening and closing quotes. Is there a reason that we can't have Pi/Pf blessed too? I ask because there are quotation marks in the Pi/Pf

Unicode bracketing spec question

2009-04-22 Thread Timothy S. Nelson
I note that S02 says that the unicode classes Ps/Pe are blessed to act as opening and closing quotes. Is there a reason that we can't have Pi/Pf blessed too? I ask because there are quotation marks in the Pi/Pf set that are called Substitution and Transposition which I thought might be cool

%ARGH

2009-04-19 Thread Timothy S. Nelson
Hi all. Can we change %*OPTS to %*ARGH ? By analogy with @ARGS, but a hash of args? I've always used that, and kind of like the amusement factor :). - | Name: Tim Nelson | Because the Creator is,|

Re: some questions about S02(type)

2009-04-05 Thread Timothy S. Nelson
On Sat, 4 Apr 2009, Darren Duncan wrote: Speaking of libraries, I already implemented a table type ... it's called Set::Relation/::V2 and its on CPAN right now ... for Perl 5 ... I still have to port it to Perl 6, unless someone else wants to do that, but I designed it so that would be easy

Re: some questions about S02(type)

2009-04-04 Thread Timothy S. Nelson
On Sat, 4 Apr 2009, Xiao Yafeng wrote: 3. Could I define primary key for a bag variable? All items in a Bag are primary keys, but there's no data additional data associated with it. I mean whether I can see Set as a table and Bag as a table with a unique constraint? like: subset

Re: some questions about S02(type)

2009-04-03 Thread Timothy S. Nelson
On Fri, 3 Apr 2009, Moritz Lenz wrote: Xiao Yafeng wrote: 1. Could I set multi-return type?like sub test as (Int, Str) {...} as is coercion - so to what would it coerce? Int or Str? How could the compiler know? Or do you mean something like a tuple? I think

Grammars that generate stuff

2009-03-28 Thread Timothy S. Nelson
Hi all. I've been thinking about stringification, forms, and things like that. As exegesis 7 points out, sprintf, pack, and the forms language all essentially take data and specifies how to turn it into a string (I'm using string loosely here). Likewise with .perl -- it takes some data,

Re: Logo considerations - 3 logos needed

2009-03-25 Thread Timothy S. Nelson
On Wed, 25 Mar 2009, Nigel Hamilton wrote: I like the Camelia it's colourful, fun - it even has an embedded, sideways reference to a Camel. But IMHO there is a need for three logos: I'm not so sure 1. Combined Parrot + Rakudo [snip] 2. Rakudo My understanding was that Rakudo

Re: Logo considerations

2009-03-24 Thread Timothy S. Nelson
On Tue, 24 Mar 2009, Damian Conway wrote: Earlier I wrote: Maybe just something like one of the attached graphics (only redone by someone with actual graphical design skills ;-)? It occurs to me that this comment might be misread as an implied criticism of Conrad's original artwork as well.

Re: Logo considerations

2009-03-24 Thread Timothy S. Nelson
Firstly, I'd like to speak in favour of the idea of designing a logo for Perl6, and then creating a Rakudo logo based on the Perl6 logo and the Parrot logo. From here on, I'll be addressing the Perl6 logo. On Tue, 24 Mar 2009, Larry Wall wrote: On Tue, Mar 24, 2009 at 09:49:42AM -0700, Jon

Btw, I think these logo discussions have just proved the bikeshedding idea :)

2009-03-24 Thread Timothy S. Nelson
- | Name: Tim Nelson | Because the Creator is,| | E-mail: wayl...@wayland.id.au| I am | - BEGIN GEEK

Re: Logo considerations

2009-03-23 Thread Timothy S. Nelson
On Mon, 23 Mar 2009, Richard Hainsworth wrote: My choice would be a lion, perhaps one lazing in the sun. The meaning that it is lazy, but it has raw power when it needs, and is the king of the jungle. Is there a way we can also show it to be impatient and hubristic? :)

Re: Logo considerations

2009-03-23 Thread Timothy S. Nelson
On Tue, 24 Mar 2009, Timothy S. Nelson wrote: On Mon, 23 Mar 2009, Richard Hainsworth wrote: My choice would be a lion, perhaps one lazing in the sun. The meaning that it is lazy, but it has raw power when it needs, and is the king of the jungle. Is there a way we can also show

Re: Dallas.p6m

2009-03-20 Thread Timothy S. Nelson
On Thu, 19 Mar 2009, Andy Lester wrote: I think it would be better to call it Dallas.pm and just talk about Perl 6 in the meeting announcements. The key is that we don't want people to think they must choose one or the other. Technologically, Perl 5 and Perl 6 are very different, but

Re: Masak List, take 3

2009-03-09 Thread Timothy S. Nelson
On Mon, 9 Mar 2009, Patrick R. Michaud wrote: On Fri, Mar 06, 2009 at 01:37:16PM +1100, Timothy S. Nelson wrote: I guess the way I decide things like this is: - If it's a method on a role/object, then it lives in S32 - If it's not a method, then it lives in S29 Do we have

Re: [pugs-commits] r25698 - docs/Perl6/Spec/S32-setting-library

2009-03-05 Thread Timothy S. Nelson
On Thu, 5 Mar 2009, Patrick R. Michaud wrote: Log: - Moved defined and undefined from Scalar.pod to Any.pod, as per signature ... +=item defined + + our Bool multi defined ( Any $thing ) + our Bool multi defined ( Any $thing, ::role ) + our Bool multi method defined ( Any

Masak List, take 3

2009-03-05 Thread Timothy S. Nelson
I've done some more fiddling based on Carl Masak's updated list. * I see the sub version of defined declared in S29. Is the method version (used in S02:519) also in S29? I can't see it, but I might be missing something about how method signatures work. I've moved it to

Rakudo newbies

2009-03-04 Thread Timothy S. Nelson
Hi all. I've been hanging around on #perl6, and have heard a fairly regular complaint in the last few days. 3 or 4 people have turned up wanting to work on Rakudo, and not always been able to get the information that they wanted. I promised to write a message to the list complaining about

Re: Fwd: More S29/S32 Masak ideas (fwd)

2009-03-04 Thread Timothy S. Nelson
Sorry, forgot to send this to the list. -- Forwarded message -- Date: Wed, 4 Mar 2009 17:16:22 +1100 (EST) From: Timothy S. Nelson wayl...@wayland.id.au To: Carl Mäsak cma...@gmail.com Subject: Re: Fwd: More S29/S32 Masak ideas On Tue, 3 Mar 2009, Carl Mäsak wrote

Re: Fwd: Masak's S29 list

2009-03-03 Thread Timothy S. Nelson
On Tue, 3 Mar 2009, Carl Mäsak wrote: # .ACCEPTS and .REJECTS on most everything -- provided by the Pattern role. Likely a mistake to put one under each section, though. Perhaps put one under Object and put a reference to S03.        What does Pattern?  Should we have Object does Pattern?

Re: $?OS change

2009-03-02 Thread Timothy S. Nelson
On Mon, 2 Mar 2009, Daniel Ruoso wrote: Em Seg, 2009-03-02 às 17:04 +1100, Timothy S. Nelson escreveu: Hi. I note that we have $?OS, $?VM, and $?DISTRO (and their $* counterparts). I'd like to recommend that we eliminate $?OS, and replace it with $?KERNEL (ie. Linux) and maybe $?ARCH

Re: $?OS change

2009-03-02 Thread Timothy S. Nelson
On Mon, 2 Mar 2009, Daniel Ruoso wrote: Em Seg, 2009-03-02 às 23:47 +1100, Timothy S. Nelson escreveu: On Mon, 2 Mar 2009, Daniel Ruoso wrote: So, I think the proper name to the variables would be $?ARCH and $*ARCH Where they would stringify to the arch triplet, while providing convenience

Re: pod variables?

2009-03-01 Thread Timothy S. Nelson
On Fri, 27 Feb 2009, Darren Duncan wrote: Jon Lang wrote: Under the section about twigils in S02, $=var is described as a pod variable. I'm not finding any other references to pod variables; what are tey, and how are they used? (In particular, I'm wondering if they're a fossil; if they

Re: r25541 - docs/Perl6/Spec

2009-03-01 Thread Timothy S. Nelson
On Fri, 27 Feb 2009, Henry Baragar wrote: I am starting to get overwhelmed by the number of special names and I am wondering why we need to have a flat naming space? For example, wouldn't it be easier to remember (and to introspect) the following? I vote in favour of the general idea,

$?OS change

2009-03-01 Thread Timothy S. Nelson
Hi. I note that we have $?OS, $?VM, and $?DISTRO (and their $* counterparts). I'd like to recommend that we eliminate $?OS, and replace it with $?KERNEL (ie. Linux) and maybe $?ARCH (ie. i386). Thoughts? :) - |

Re: Masak's S29 list

2009-02-27 Thread Timothy S. Nelson
On Fri, 27 Feb 2009, Moritz Lenz wrote: # Code has a .sig Seems (from what I can tell) to be synonymous with .signature, so I standardised on .signature. This leads me to another question - afaict we also have .arity on the code object, but shouldn't that be method on the .signature

Re: Exceptions question

2009-02-26 Thread Timothy S. Nelson
On Wed, 25 Feb 2009, Larry Wall wrote: On Thu, Feb 26, 2009 at 02:05:28PM +1100, Timothy S. Nelson wrote: Does this mean that $! is a container of some sort? It's an object, which (in the abstract) can contain anything it jolly well pleases. The main question beyond that is how

Re: Exceptions question

2009-02-26 Thread Timothy S. Nelson
On Thu, 26 Feb 2009, Timothy S. Nelson wrote: My suggested solution would be to change $! to an exception container object. But then we have to use it in the implicit given in the CATCH block. If we used an any() Junction, would that do what we want? Ok, Moritz told me on IRC

Re: Exceptions question

2009-02-26 Thread Timothy S. Nelson
On Thu, 26 Feb 2009, Daniel Ruoso wrote: Em Qui, 2009-02-26 às 08:55 -0300, Daniel Ruoso escreveu: for @! {} might provide the needed semantics... After sending this mail I've just realized I don't know exactly which are the needed semantics... what happens if you have several unthrown

Masak's S29 list

2009-02-26 Thread Timothy S. Nelson
Here's my comments on Carl Masak's S29 list. Note that some of the things that say that they're now in something still need a lot of work. # Range objects have .from, .to, .min, .max and .minmax methods Now in S32/Containers.pod # .contains on Hash and Array Where's this from? #

  1   2   >