Timothy S. Nelson wrote:
> 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?
This had been in S03, and was removed since then. You can safely ignore it.
> # 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 instead? Do
we have any methods in Code that are not related to the signature?
> # .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?
If everything does Pattern, I see no good reason to have a role at all -
just stuff the thing into Object.
> # Block types have .next, .last, .redo and .leave on them. These are also
> functions, and need to be specced as such.
Ah, that answers my previous question already ;-)
> # .match, .subst and .trans from S05.
> Now in S32/Str.pod. But I wasn't sure what subst() returns.
The modified string. (It doesn't do in-place substitution by default).
http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/