Re: [perl6/specs] 34fddf: [S32::Str] substr is not rw anymore, but substr-rw...

2012-06-09 Thread Moritz Lenz
On 06/09/2012 12:32 PM, Richard Hainsworth wrote:
> I noticed that subst-rw does not have "is export" in the definition.
> 
> Does this mean that subst-rw is not available outside the module?

No.

All routines from the setting are available to user space code, because
they are simply in an outer scope of the user code.

What the 'is export' traits in that document do is creating a subroutine
version of a method.

Currently it means that there is only a subroutine version of substr-rw
specced, not a method form.

Cheers,
Moritz


Re: [perl6/specs] 34fddf: [S32::Str] substr is not rw anymore, but substr-rw...

2012-06-09 Thread Richard Hainsworth

I noticed that subst-rw does not have "is export" in the definition.

Does this mean that subst-rw is not available outside the module?

Richard

On 06/09/2012 02:20 PM, GitHub wrote:

   Branch: refs/heads/master
   Home:   https://github.com/perl6/specs
   Commit: 34fddf7788493098ac569f1cea7f214ce1ea1f2c
   
https://github.com/perl6/specs/commit/34fddf7788493098ac569f1cea7f214ce1ea1f2c
   Author: Moritz Lenz
   Date:   2012-06-09 (Sat, 09 Jun 2012)

   Changed paths:
 M S32-setting-library/Str.pod

   Log Message:
   ---
   [S32::Str] substr is not rw anymore, but substr-rw is