top 5 list needed

2005-10-18 Thread Uri Guttman
i have an opportunity to get an email sent to the faculty of a top CS dept. my goal is to get internal support for a potential YAPC to be hosted there. so i want to present perl 6 to them in a way which will sell them on its academic and cutting edge aspects. your mission is to write some short

Re: Standard library for perl6? (graphical primitives)

2005-10-18 Thread Nathan Gray
On Sat, Oct 15, 2005 at 08:33:26AM +0300, Markus Laire wrote: Could it be possible to create a Standard library for perl6, which would also include graphical primitives (putpixel, getpixel, getcolordepth, putimage, getimage, copyrectangle)? I'm interested in creating a perl6 binding to cairo

Re: use fatal err fail

2005-10-18 Thread Nicholas Clark
On Wed, Sep 28, 2005 at 11:46:37AM -0500, Adam D. Lopresto wrote: [2] I've actually seen data lost due to this. When drive space is very limited (due to, for instance, a user quota) it's often possible to open a new file (since there's some space left), but the close fails since too much

Re: Translitteration and combining strings and array references

2005-10-18 Thread Peter Makholm
[EMAIL PROTECTED] (Eric) writes: On Fri, 14 Oct 2005 08:38:55 +0200, Peter Makholm [EMAIL PROTECTED] wrote: Yesterday I spend some hours getting pugs to understand translitterations with multiple ranges in each pair. E.g. Actually its been fixed already. Of course i think the whole thing

Re: top 5 list needed

2005-10-18 Thread Stevan Little
Uri, Well, aside from what is actually *in* Perl 6 currently, there are a number of interesting side projects, which may or may not get included in the final language design. Such as: On Oct 18, 2005, at 3:40 AM, Uri Guttman wrote: the new OO design (stole the best from the rest and

Re: top 5 list needed

2005-10-18 Thread Rob Kinyon
Some other features: 1) You can write your program in any combination of programming styles and languages, as you see fit. Thus, you can use your OO library written in Ruby, that really fast C routine, and your Perl code, all in one place. 2) There are a large number of operators that support

Re: Re(vised): Proposal to make class method non-inheritable

2005-10-18 Thread Juerd
Stevan Little skribis 2005-10-18 10:16 (-0400): You are probably right, but are the twigils actually special? or is it just a naming convention. dot sigils are not actually special. They are required on has-variables and forbidden on all other. Changing them to be optional is trivial, or so I

Re: Re(vised): Proposal to make class method non-inheritable

2005-10-18 Thread chromatic
On Tue, 2005-10-18 at 10:16 -0400, Stevan Little wrote: On Oct 18, 2005, at 6:56 AM, Miroslav Silovic wrote: Uhm. I'm not sure either. :) The way I read Larry's mail, multimethods use .isa operator to detect whether $foo belongs to Foo. And for every class, Foo.isa(Foo) is true (this

Re: Translitteration and combining strings and array references

2005-10-18 Thread Eric
I have a suggestion/proposal/whatever. I am just starting to get a grasp of uses for pairs and where they are handy. Working on string.trans some showed that it would be useful to have the function accept a list of pairs. That was working until the fix for magical pairs went through and now the

Re: Re(vised): Proposal to make class method non-inheritable

2005-10-18 Thread Miroslav Silovic
[EMAIL PROTECTED] wrote: U... I'm not sure that allowing $. injection from the nested blocks is a good thing. I don't think it's ambiguous, but to me it looks weird and confusing - if a user put the variable in the nested block like that, it's almost certain he actually meant to write

Re: top 5 list needed

2005-10-18 Thread Luke Palmer
On 10/18/05, Rob Kinyon [EMAIL PROTECTED] wrote: 3) Macros. Nuff said. Not quite. Lispish macros, that is, macros that let you look at what you're expanding. 4) More declarative syntax. This is more of a handwavy, but the syntax feels (to me) as if it's more declarative than before. For

Re: top 5 list needed

2005-10-18 Thread Luke Palmer
On 10/18/05, Uri Guttman [EMAIL PROTECTED] wrote: i have an opportunity to get an email sent to the faculty of a top CS dept. my goal is to get internal support for a potential YAPC to be hosted there. so i want to present perl 6 to them in a way which will sell them on its academic and

Re: Translitteration and combining strings and array references

2005-10-18 Thread Luke Palmer
On 10/18/05, Eric [EMAIL PROTECTED] wrote: Currently we (can|will be able to) do string.trans( (['h','e'] = 0) ); string.trans( == ['h','e'] = 0); Those are fine and i can live with that, but it seems that if we made the signature of trans method trans(Str $self: [EMAIL PROTECTED]) {};

Re: Standard library for perl6? (graphical primitives)

2005-10-18 Thread Dave Whipp
Markus Laire wrote: I'm not completely sure if it would be worth the trouble to support only most primitive graphical commands in core, (no windows, etc..), and leave the rest to the modules (or to the programmer). To a large extent, I'd want to leave most details to modules, etc. But what

Making Wrong Code Type Wrong

2005-10-18 Thread Yuval Kogman
JoelOnSoftware wrote an article I recently saw linked on perlmonks: http://www.joelonsoftware.com/articles/Wrong.html The article discusses writing robust software, specifically by dealing with data separation. In my interpretation the article introduces a type system. This type system

Re: Translitteration and combining strings and array references

2005-10-18 Thread Eric
On 10/18/05, Luke Palmer [EMAIL PROTECTED] wrote: Uh, no. Certainly not for a method. For a bare sub that has been predeclared it may be possible. But we don't want to remagicalize pairs after we just argued the heck out of it to make pairs *always* be named parameters. My thought was that

Re: top 5 list needed

2005-10-18 Thread Stevan Little
On Oct 18, 2005, at 1:45 PM, Luke Palmer wrote: On 10/18/05, Rob Kinyon [EMAIL PROTECTED] wrote: 3) Macros. Nuff said. Not quite. Lispish macros, that is, macros that let you look at what you're expanding. To further expand on this, they will be AST-manipulating macros (LISP style)

Re: Making Wrong Code Type Wrong

2005-10-18 Thread Juerd
Yuval Kogman skribis 2005-10-18 20:38 (+0200): the function encode has the type Unsafe - Safe I read the article before. What occurred to me then did so again now. What exactly do Unsafe and Safe mean? Safe for *what*? Something that is safe to put in HTML may be unsafe to put in an

Re: Making Wrong Code Type Wrong

2005-10-18 Thread Yuval Kogman
On Tue, Oct 18, 2005 at 21:04:02 +0200, Juerd wrote: Yuval Kogman skribis 2005-10-18 20:38 (+0200): the function encode has the type Unsafe - Safe I read the article before. What occurred to me then did so again now. What exactly do Unsafe and Safe mean? Safe for *what*? That was just

Re: Making Wrong Code Type Wrong

2005-10-18 Thread Juerd
Yuval Kogman skribis 2005-10-18 21:22 (+0200): I read the article before. What occurred to me then did so again now. What exactly do Unsafe and Safe mean? Safe for *what*? That was just a naive example - the words Unsafe and Safe are user defined, and are chosen on a case by case basis in

Re: Making Wrong Code Type Wrong

2005-10-18 Thread Rob Kinyon
[snip] Let me rephrase to see if I understand you - you like the fact that boxed types + roles applied to those types + compile-time type checking/inference allows you to tag a piece of information (int, char, string, obj, whatever) with arbitrary metadata. Add that to the fact that you can

syntax for accessing multiple versions of a module

2005-10-18 Thread Nicholas Clark
Sorry if I'm asking a question that I've missed in a synopsis. Perl 6 will be able to load more than one version of the same module. As I understand it, this would let you have more than one version of DBI loaded in the same interpreter, and also have DBI written by Tim Bunce and DBI written by

Re: syntax for accessing multiple versions of a module

2005-10-18 Thread Juerd
Nicholas Clark skribis 2005-10-18 22:41 (+0100): my $foo = DBI(1.38)-new(); my $bar = DBI(1.40)-new(); I like this syntax, and have a somewhat relevant question: can a module be aliased entirely, including all its subclasses/-roles/-.*? Something like use DBI as RealDBI; use

Re: top 5 list needed

2005-10-18 Thread Uri Guttman
SL == Stevan Little [EMAIL PROTECTED] writes: SL On Oct 18, 2005, at 1:45 PM, Luke Palmer wrote: On 10/18/05, Rob Kinyon [EMAIL PROTECTED] wrote: 3) Macros. Nuff said. Not quite. Lispish macros, that is, macros that let you look at what you're expanding. SL To

Re: syntax for accessing multiple versions of a module

2005-10-18 Thread Rob Kinyon
On 10/18/05, Juerd [EMAIL PROTECTED] wrote: Nicholas Clark skribis 2005-10-18 22:41 (+0100): my $foo = DBI(1.38)-new(); my $bar = DBI(1.40)-new(); I like this syntax, and have a somewhat relevant question: can a module be aliased entirely, including all its subclasses/-roles/-.*?

Re: top 5 list needed

2005-10-18 Thread Rob Kinyon
On 10/18/05, Uri Guttman [EMAIL PROTECTED] wrote: SL == Stevan Little [EMAIL PROTECTED] writes: SL On Oct 18, 2005, at 1:45 PM, Luke Palmer wrote: On 10/18/05, Rob Kinyon [EMAIL PROTECTED] wrote: 3) Macros. Nuff said. Not quite. Lispish macros, that is, macros that

Re: syntax for accessing multiple versions of a module

2005-10-18 Thread Stevan Little
Nicholas, This is addressed in S11, here is a link: http://search.cpan.org/~ingy/Perl6-Bible/lib/Perl6/Bible/S11.pod To summarize, the syntax to load the modules is: use Dog-1.2.1; While the syntax to create a specific version of a module is: my Dog-1.3.4-cpan:JRANDOM $spot .=