Re: r27888 - docs/Perl6/Spec

2009-08-07 Thread Moritz Lenz
pugs-comm...@feather.perl6.nl wrote:
 Author: jimmy
 Date: 2009-08-07 05:02:42 +0200 (Fri, 07 Aug 2009)
 New Revision: 27888
 
 Modified:
docs/Perl6/Spec/S01-overview.pod
docs/Perl6/Spec/S02-bits.pod
docs/Perl6/Spec/S03-operators.pod
docs/Perl6/Spec/S04-control.pod
docs/Perl6/Spec/S05-regex.pod
docs/Perl6/Spec/S06-routines.pod
docs/Perl6/Spec/S09-data.pod
docs/Perl6/Spec/S10-packages.pod
docs/Perl6/Spec/S11-modules.pod
docs/Perl6/Spec/S12-objects.pod
docs/Perl6/Spec/S13-overloading.pod
docs/Perl6/Spec/S14-roles-and-parametric-types.pod
docs/Perl6/Spec/S29-functions.pod
docs/Perl6/Spec/S31-pragmatic-modules.pod
 Log:
 [Spec]fixed the wrong space, now it's \x20, not \xC2A0

What was wrong with the non-breaking spaces?
We use Perl 5 and Perl 6 as words, so it makes a lot of sense to
separate them by non-breaking spaces, IMHO.

Also note that this commit breaks 22 smartlinks.

Cheers,
Moritz


Re: r27888 - docs/Perl6/Spec

2009-08-07 Thread Patrick R. Michaud
On Fri, Aug 07, 2009 at 08:17:30AM +0200, Moritz Lenz wrote:
 pugs-comm...@feather.perl6.nl wrote:
  Author: jimmy
  Date: 2009-08-07 05:02:42 +0200 (Fri, 07 Aug 2009)
  New Revision: 27888
  
  Log:
  [Spec]fixed the wrong space, now it's \x20, not \xC2A0
 
 What was wrong with the non-breaking spaces?
 We use Perl 5 and Perl 6 as words, so it makes a lot of sense to
 separate them by non-breaking spaces, IMHO.
 
 Also note that this commit breaks 22 smartlinks.

I vote to revert this change and keep the non-breaking space.

Pm


Perl 6 modules and classboxes?

2009-08-07 Thread Raphael Descamps
Hi,

In the last few months, I tried to anderstand better Roles aka statefull
traits, so I read differents traits papers about it. From the same
research group, I also read about classboxes and found the concept
interresting, particulary when combined with traits (roles).

Please note that I am not a computer science guy, so I anderstand more
or less the concepts but not the mathematical formal description. 

I tried to read the Synopse S11 and how modules will be working in Perl
6: to be honest I still not really anderstand it :)

As Perl 6 will be supporting multiple versions installed of the same
module and also support import with lexical scoping, I was asking myself
if it was possible to combine some of the interresting properties of
classboxes like local rebinding, flattening property and the idea that
import takes precedence over inheritance.

I am absolutly not sure if it fit to the Perl 6 module concept as a
whole, but I will be happy to read your comments and what you think
about it.

A few pointers:

classboxes+traits introduction:
http://scg.unibe.ch/archive/papers/Berg05dTraitsClassbox.pdf

For an in depth description, you can also read the Ph.D. thesis:
http://scg.unibe.ch/archive/phd/bergel-phd.pdf

To develop the classbox concept, the autors also introduced a module
calculus, which also help to describe the difference existing beetween
different modules systems: (such a module calculus can also help to
better anderstand the interaction beetween different languages): 
http://scg.unibe.ch/archive/papers/Berg05cModuleDiversity.pdf

I will be on Holiday for the next 3 weeks and will probably be offline
most of the time, so don't take a no reply for indifference. I know that
it's not a good idea to propose something like that and disappear
immediatly, but a saw that S11 was on a heavily rework phase and that it
is now or never to open my mouth :)

Raphael.



Re: Perl 6 modules and classboxes?

2009-08-07 Thread Raphael Descamps

 I tried to read the Synopse S11 and how modules will be working in Perl
 6: to be honest I still not really anderstand it :)

What may help me is to know where Perl 6 modules are to be placed in the
module taxonomy used in the module calculus paper below.

 To develop the classbox concept, the autors also introduced a module
 calculus, which also help to describe the difference existing beetween
 different modules systems: (such a module calculus can also help to
 better anderstand the interaction beetween different languages): 
 http://scg.unibe.ch/archive/papers/Berg05cModuleDiversity.pdf

Raphael.